home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1992-11-18 | 685.4 KB | [ONLN/HLX2] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Wed Nov 18 10:21:12 1992, modified Wed Nov 18 11:01:57 1992, creator 'HLX2', type 'ONLN', 678102 bytes "TN-Toolbox" , at 0xa5956 23482 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
100%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [ONLN] |
macFileCreator | [HLX2] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0a 54 4e 2d 54 6f 6f | 6c 62 6f 78 00 00 00 00 |..TN-Too|lbox....|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 4f 4e 4c 4e 48 4c 58 | 32 01 00 00 00 00 00 00 |.ONLNHLX|2.......|
|00000050| 00 00 00 00 0a 58 d6 00 | 00 5b ba a7 30 0f e8 a7 |.....X..|.[..0...|
|00000060| 30 19 75 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |0.u.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 e2 5e 00 00 |........|.....^..|
|00000080| 43 6f 6e 74 72 6f 6c 20 | 4d 61 6e 61 67 65 72 20 |Control |Manager |
|00000090| 51 26 41 73 0d 54 6f 6f | 6c 62 6f 78 09 4d 2e 54 |Q&As.Too|lbox.M.T|
|000000a0| 42 2e 43 6f 6e 74 72 6f | 6c 4d 67 72 2e 51 26 41 |B.Contro|lMgr.Q&A|
|000000b0| 73 0d 52 65 76 69 73 65 | 64 20 62 79 3a 09 44 65 |s.Revise|d by:.De|
|000000c0| 76 65 6c 6f 70 65 72 20 | 53 75 70 70 6f 72 74 20 |veloper |Support |
|000000d0| 43 65 6e 74 65 72 09 4f | 63 74 6f 62 65 72 20 31 |Center.O|ctober 1|
|000000e0| 39 39 32 0d 57 72 69 74 | 74 65 6e 20 62 79 3a 09 |992.Writ|ten by:.|
|000000f0| 44 65 76 65 6c 6f 70 65 | 72 20 53 75 70 70 6f 72 |Develope|r Suppor|
|00000100| 74 20 43 65 6e 74 65 72 | 09 4f 63 74 6f 62 65 72 |t Center|.October|
|00000110| 20 31 39 39 30 0d 54 68 | 69 73 20 54 65 63 68 6e | 1990.Th|is Techn|
|00000120| 69 63 61 6c 20 4e 6f 74 | 65 20 63 6f 6e 74 61 69 |ical Not|e contai|
|00000130| 6e 73 20 61 20 63 6f 6c | 6c 65 63 74 69 6f 6e 20 |ns a col|lection |
|00000140| 6f 66 20 51 26 41 73 20 | 72 65 6c 61 74 69 6e 67 |of Q&As |relating|
|00000150| 20 74 6f 20 61 20 73 70 | 65 63 69 66 69 63 20 74 | to a sp|ecific t|
|00000160| 6f 70 69 63 d1 71 75 65 | 73 74 69 6f 6e 73 20 79 |opic.que|stions y|
|00000170| 6f 75 d5 76 65 20 73 65 | 6e 74 20 74 68 65 20 44 |ou.ve se|nt the D|
|00000180| 65 76 65 6c 6f 70 65 72 | 20 53 75 70 70 6f 72 74 |eveloper| Support|
|00000190| 20 43 65 6e 74 65 72 20 | 28 44 53 43 29 20 61 6c | Center |(DSC) al|
|000001a0| 6f 6e 67 20 77 69 74 68 | 20 61 6e 73 77 65 72 73 |ong with| answers|
|000001b0| 20 66 72 6f 6d 20 74 68 | 65 20 44 53 43 20 65 6e | from th|e DSC en|
|000001c0| 67 69 6e 65 65 72 73 2e | 20 57 68 69 6c 65 20 44 |gineers.| While D|
|000001d0| 53 43 20 65 6e 67 69 6e | 65 65 72 73 20 68 61 76 |SC engin|eers hav|
|000001e0| 65 20 63 68 65 63 6b 65 | 64 20 74 68 65 20 51 26 |e checke|d the Q&|
|000001f0| 41 20 63 6f 6e 74 65 6e | 74 20 66 6f 72 20 61 63 |A conten|t for ac|
|00000200| 63 75 72 61 63 79 2c 20 | 74 68 65 20 51 26 41 20 |curacy, |the Q&A |
|00000210| 54 65 63 68 6e 69 63 61 | 6c 20 4e 6f 74 65 73 20 |Technica|l Notes |
|00000220| 64 6f 6e d5 74 20 68 61 | 76 65 20 74 68 65 20 65 |don.t ha|ve the e|
|00000230| 64 69 74 69 6e 67 20 61 | 6e 64 20 6f 72 67 61 6e |diting a|nd organ|
|00000240| 69 7a 61 74 69 6f 6e 20 | 6f 66 20 6f 74 68 65 72 |ization |of other|
|00000250| 20 54 65 63 68 6e 69 63 | 61 6c 20 4e 6f 74 65 73 | Technic|al Notes|
|00000260| 2e 20 54 68 65 20 51 26 | 41 20 66 75 6e 63 74 69 |. The Q&|A functi|
|00000270| 6f 6e 20 69 73 20 74 6f | 20 67 65 74 20 6e 65 77 |on is to| get new|
|00000280| 20 74 65 63 68 6e 69 63 | 61 6c 20 69 6e 66 6f 72 | technic|al infor|
|00000290| 6d 61 74 69 6f 6e 20 61 | 6e 64 20 75 70 64 61 74 |mation a|nd updat|
|000002a0| 65 73 20 74 6f 20 79 6f | 75 20 71 75 69 63 6b 6c |es to yo|u quickl|
|000002b0| 79 2c 20 73 61 76 69 6e | 67 20 74 68 65 20 70 6f |y, savin|g the po|
|000002c0| 6c 69 73 68 20 66 6f 72 | 20 77 68 65 6e 20 74 68 |lish for| when th|
|000002d0| 65 20 69 6e 66 6f 72 6d | 61 74 69 6f 6e 20 6d 69 |e inform|ation mi|
|000002e0| 67 72 61 74 65 73 20 69 | 6e 74 6f 20 72 65 66 65 |grates i|nto refe|
|000002f0| 72 65 6e 63 65 20 6d 61 | 6e 75 61 6c 73 2e 0d 51 |rence ma|nuals..Q|
|00000300| 26 41 73 20 61 72 65 20 | 6e 6f 77 20 69 6e 63 6c |&As are |now incl|
|00000310| 75 64 65 64 20 77 69 74 | 68 20 54 65 63 68 6e 69 |uded wit|h Techni|
|00000320| 63 61 6c 20 4e 6f 74 65 | 73 20 74 6f 20 6d 61 6b |cal Note|s to mak|
|00000330| 65 20 61 63 63 65 73 73 | 20 74 6f 20 74 65 63 68 |e access| to tech|
|00000340| 6e 69 63 61 6c 20 75 70 | 64 61 74 65 73 20 65 61 |nical up|dates ea|
|00000350| 73 69 65 72 20 66 6f 72 | 20 79 6f 75 2e 20 49 66 |sier for| you. If|
|00000360| 20 79 6f 75 20 68 61 76 | 65 20 63 6f 6d 6d 65 6e | you hav|e commen|
|00000370| 74 73 20 6f 72 20 73 75 | 67 67 65 73 74 69 6f 6e |ts or su|ggestion|
|00000380| 73 20 61 62 6f 75 74 20 | 51 26 41 20 63 6f 6e 74 |s about |Q&A cont|
|00000390| 65 6e 74 20 6f 72 20 64 | 69 73 74 72 69 62 75 74 |ent or d|istribut|
|000003a0| 69 6f 6e 2c 20 70 6c 65 | 61 73 65 20 6c 65 74 20 |ion, ple|ase let |
|000003b0| 75 73 20 6b 6e 6f 77 20 | 62 79 20 73 65 6e 64 69 |us know |by sendi|
|000003c0| 6e 67 20 61 6e 20 41 70 | 70 6c 65 4c 69 6e 6b 20 |ng an Ap|pleLink |
|000003d0| 74 6f 20 44 45 56 46 45 | 45 44 42 41 43 4b 2e 20 |to DEVFE|EDBACK. |
|000003e0| 41 70 70 6c 65 20 50 61 | 72 74 6e 65 72 73 20 6d |Apple Pa|rtners m|
|000003f0| 61 79 20 73 65 6e 64 20 | 74 65 63 68 6e 69 63 61 |ay send |technica|
|00000400| 6c 20 71 75 65 73 74 69 | 6f 6e 73 20 61 62 6f 75 |l questi|ons abou|
|00000410| 74 20 51 26 41 20 63 6f | 6e 74 65 6e 74 20 74 6f |t Q&A co|ntent to|
|00000420| 20 44 45 56 53 55 50 50 | 4f 52 54 20 66 6f 72 20 | DEVSUPP|ORT for |
|00000430| 72 65 73 6f 6c 75 74 69 | 6f 6e 2e 0d 4e 65 77 20 |resoluti|on..New |
|00000440| 51 26 41 73 20 61 6e 64 | 20 51 26 41 73 20 72 65 |Q&As and| Q&As re|
|00000450| 76 69 73 65 64 20 74 68 | 69 73 20 6d 6f 6e 74 68 |vised th|is month|
|00000460| 20 61 72 65 20 6d 61 72 | 6b 65 64 20 77 69 74 68 | are mar|ked with|
|00000470| 20 61 20 62 61 72 20 69 | 6e 20 74 68 65 20 73 69 | a bar i|n the si|
|00000480| 64 65 20 6d 61 72 67 69 | 6e 2e 0d 55 73 65 20 63 |de margi|n..Use c|
|00000490| 61 6c 63 43 6e 74 6c 52 | 67 6e 20 61 6e 64 20 63 |alcCntlR|gn and c|
|000004a0| 61 6c 63 54 68 75 6d 62 | 52 67 6e 20 69 6e 73 74 |alcThumb|Rgn inst|
|000004b0| 65 61 64 20 6f 66 20 63 | 61 6c 63 43 52 67 6e 20 |ead of c|alcCRgn |
|000004c0| 68 69 67 68 20 62 69 74 | 0d 57 72 69 74 74 65 6e |high bit|.Written|
|000004d0| 3a 09 36 2f 33 2f 39 31 | 0d 4c 61 73 74 20 72 65 |:.6/3/91|.Last re|
|000004e0| 76 69 65 77 65 64 3a 09 | 38 2f 31 2f 39 32 0d 57 |viewed:.|8/1/92.W|
|000004f0| 65 20 74 72 69 65 64 20 | 75 73 69 6e 67 20 6f 75 |e tried |using ou|
|00000500| 72 20 4d 61 63 69 6e 74 | 6f 73 68 20 53 79 73 74 |r Macint|osh Syst|
|00000510| 65 6d 20 36 2e 30 20 73 | 63 72 6f 6c 6c 20 62 61 |em 6.0 s|croll ba|
|00000520| 72 20 27 43 44 45 46 27 | 73 20 75 6e 64 65 72 20 |r 'CDEF'|s under |
|00000530| 53 79 73 74 65 6d 20 37 | 2e 30 20 20 47 6f 6c 64 |System 7|.0 Gold|
|00000540| 65 6e 20 4d 61 73 74 65 | 72 20 61 6e 64 20 66 69 |en Maste|r and fi|
|00000550| 6e 64 20 74 68 61 74 20 | 74 68 65 79 20 6e 6f 20 |nd that |they no |
|00000560| 6c 6f 6e 67 65 72 20 75 | 70 64 61 74 65 20 70 72 |longer u|pdate pr|
|00000570| 6f 70 65 72 6c 79 20 28 | 61 6c 74 68 6f 75 67 68 |operly (|although|
|00000580| 20 74 68 65 79 20 20 77 | 6f 72 6b 65 64 20 66 69 | they w|orked fi|
|00000590| 6e 65 20 69 6e 20 6f 6c | 64 65 72 20 76 65 72 73 |ne in ol|der vers|
|000005a0| 69 6f 6e 73 20 6f 66 20 | 53 79 73 74 65 6d 20 37 |ions of |System 7|
|000005b0| 29 2e 20 57 68 61 74 27 | 73 20 63 68 61 6e 67 65 |). What'|s change|
|000005c0| 64 3f 0d 5f 5f 5f 0d 4e | 6f 74 68 69 6e 67 20 6d |d?.___.N|othing m|
|000005d0| 75 63 68 20 68 61 73 20 | 63 68 61 6e 67 65 64 20 |uch has |changed |
|000005e0| 61 73 20 66 61 72 20 61 | 73 20 63 75 73 74 6f 6d |as far a|s custom|
|000005f0| 20 27 43 44 45 46 27 73 | 20 67 6f 20 62 65 74 77 | 'CDEF's| go betw|
|00000600| 65 65 6e 20 53 79 73 74 | 65 6d 20 36 20 61 6e 64 |een Syst|em 6 and|
|00000610| 20 20 53 79 73 74 65 6d | 20 37 2c 20 65 78 63 65 | System| 7, exce|
|00000620| 70 74 20 66 6f 72 20 74 | 68 65 20 77 61 79 20 74 |pt for t|he way t|
|00000630| 68 65 20 73 79 73 74 65 | 6d 20 67 65 74 73 20 74 |he syste|m gets t|
|00000640| 68 65 20 69 6e 64 69 63 | 61 74 6f 72 20 28 74 68 |he indic|ator (th|
|00000650| 75 6d 62 20 72 65 67 69 | 6f 6e 29 20 66 6f 72 20 |umb regi|on) for |
|00000660| 20 61 20 63 6f 6e 74 72 | 6f 6c 2e 20 41 73 20 79 | a contr|ol. As y|
|00000670| 6f 75 20 6d 61 79 20 6b | 6e 6f 77 2c 20 74 68 65 |ou may k|now, the|
|00000680| 20 68 69 67 68 20 62 69 | 74 20 6f 66 20 74 68 65 | high bi|t of the|
|00000690| 20 70 61 72 61 6d 65 74 | 65 72 20 70 61 73 73 65 | paramet|er passe|
|000006a0| 64 20 74 6f 20 63 61 6c | 63 43 52 67 6e 20 20 75 |d to cal|cCRgn u|
|000006b0| 73 65 64 20 74 6f 20 62 | 65 20 73 65 74 20 74 6f |sed to b|e set to|
|000006c0| 20 69 6e 64 69 63 61 74 | 65 20 74 68 61 74 20 6f | indicat|e that o|
|000006d0| 6e 6c 79 20 74 68 65 20 | 74 68 75 6d 62 20 72 65 |nly the |thumb re|
|000006e0| 67 69 6f 6e 20 77 61 73 | 20 6e 65 65 64 65 64 2e |gion was| needed.|
|000006f0| 20 42 65 63 61 75 73 65 | 20 74 68 69 73 20 69 73 | Because| this is|
|00000700| 20 6e 6f 74 20 33 32 2d | 62 69 74 20 63 6c 65 61 | not 32-|bit clea|
|00000710| 6e 2c 20 41 70 70 6c 65 | 20 68 61 73 20 64 65 66 |n, Apple| has def|
|00000720| 69 6e 65 64 20 74 77 6f | 20 6e 65 77 20 6d 65 73 |ined two| new mes|
|00000730| 73 61 67 65 73 20 74 68 | 61 74 20 77 6f 72 6b 20 |sages th|at work |
|00000740| 6a 75 73 74 20 6c 69 6b | 65 20 74 68 65 20 6f 6c |just lik|e the ol|
|00000750| 64 20 63 61 6c 63 43 52 | 67 6e 3a 20 63 61 6c 63 |d calcCR|gn: calc|
|00000760| 43 6e 74 6c 52 67 6e 20 | 28 6d 65 73 73 61 67 65 |CntlRgn |(message|
|00000770| 20 23 31 30 29 20 77 61 | 6e 74 73 20 79 6f 75 20 | #10) wa|nts you |
|00000780| 74 6f 20 66 69 6c 6c 20 | 70 61 72 61 6d 20 77 69 |to fill |param wi|
|00000790| 74 68 20 74 68 65 20 65 | 6e 74 69 72 65 20 63 6f |th the e|ntire co|
|000007a0| 6e 74 72 6f 6c d5 73 20 | 72 65 67 69 6f 6e 20 73 |ntrol.s |region s|
|000007b0| 74 72 75 63 74 75 72 65 | 2c 20 61 6e 64 20 63 61 |tructure|, and ca|
|000007c0| 6c 63 54 68 75 6d 62 52 | 67 6e 20 28 6d 65 73 73 |lcThumbR|gn (mess|
|000007d0| 61 67 65 20 23 31 31 29 | 20 73 69 6d 70 6c 79 20 |age #11)| simply |
|000007e0| 77 61 6e 74 73 20 74 68 | 65 20 69 6e 64 69 63 61 |wants th|e indica|
|000007f0| 74 6f 72 20 72 65 67 69 | 6f 6e 2e 20 49 74 20 69 |tor regi|on. It i|
|00000800| 73 20 61 6c 73 6f 20 69 | 6d 70 6f 72 74 61 6e 74 |s also i|mportant|
|00000810| 20 74 6f 20 6e 6f 74 65 | 20 74 68 61 74 20 79 6f | to note| that yo|
|00000820| 75 20 6d 75 73 74 20 72 | 65 74 75 72 6e 20 61 20 |u must r|eturn a |
|00000830| 6e 6f 6e 2d 7a 65 72 6f | 20 72 65 73 75 6c 74 20 |non-zero| result |
|00000840| 69 66 20 79 6f 75 20 61 | 63 74 75 61 6c 6c 79 20 |if you a|ctually |
|00000850| 72 65 74 75 72 6e 20 74 | 68 69 73 20 64 61 74 61 |return t|his data|
|00000860| 2e 20 59 6f 75 20 70 72 | 6f 62 61 62 6c 79 20 61 |. You pr|obably a|
|00000870| 72 65 20 6e 6f 74 20 79 | 65 74 20 70 72 6f 63 65 |re not y|et proce|
|00000880| 73 73 69 6e 67 20 74 68 | 65 73 65 20 6d 65 73 73 |ssing th|ese mess|
|00000890| 61 67 65 73 2c 20 6f 72 | 20 79 6f 75 20 61 72 65 |ages, or| you are|
|000008a0| 20 6e 6f 74 20 73 65 74 | 74 69 6e 67 20 79 6f 75 | not set|ting you|
|000008b0| 72 20 72 65 73 75 6c 74 | 20 74 6f 20 31 20 74 6f |r result| to 1 to|
|000008c0| 20 69 6e 64 69 63 61 74 | 65 74 68 61 74 20 79 6f | indicat|ethat yo|
|000008d0| 75 20 68 61 76 65 20 63 | 72 65 61 74 65 64 20 74 |u have c|reated t|
|000008e0| 68 65 20 72 65 67 69 6f | 6e 73 2e 20 59 6f 75 20 |he regio|ns. You |
|000008f0| 6d 69 67 68 74 20 61 6c | 73 6f 20 77 61 6e 74 20 |might al|so want |
|00000900| 74 6f 20 74 61 6b 65 20 | 0d 59 6f 75 20 6d 69 67 |to take |.You mig|
|00000910| 68 74 20 66 69 6e 64 20 | 44 54 53 d5 73 20 63 75 |ht find |DTS.s cu|
|00000920| 72 72 65 6e 74 20 73 61 | 6d 70 6c 65 20 27 43 44 |rrent sa|mple 'CD|
|00000930| 45 46 27 2c 20 69 6e 20 | 74 68 65 20 53 6e 69 70 |EF', in |the Snip|
|00000940| 70 65 74 73 20 66 6f 6c | 64 65 72 20 6f 6e 20 41 |pets fol|der on A|
|00000950| 70 70 6c 65 4c 69 6e 6b | 20 61 6e 64 20 74 68 65 |ppleLink| and the|
|00000960| 20 6c 61 74 65 73 74 20 | 44 65 76 65 6c 6f 70 65 | latest |Develope|
|00000970| 72 20 43 44 73 2c 20 68 | 65 6c 70 66 75 6c 2e 20 |r CDs, h|elpful. |
|00000980| 45 76 65 6e 20 74 68 6f | 75 67 68 20 69 74 20 69 |Even tho|ugh it i|
|00000990| 73 20 6e 6f 74 20 61 20 | 73 63 72 6f 6c 6c 20 62 |s not a |scroll b|
|000009a0| 61 72 2c 20 79 6f 75 20 | 63 61 6e 20 73 65 65 20 |ar, you |can see |
|000009b0| 74 68 65 20 d2 73 74 61 | 6e 64 61 72 64 d3 20 77 |the .sta|ndard. w|
|000009c0| 61 79 20 74 6f 20 75 73 | 65 20 74 68 65 20 63 6f |ay to us|e the co|
|000009d0| 6c 6f 72 20 74 61 62 6c | 65 20 69 6e 66 6f 72 6d |lor tabl|e inform|
|000009e0| 61 74 69 6f 6e 2e 0d 44 | 65 62 75 67 67 69 6e 67 |ation..D|ebugging|
|000009f0| 20 61 20 4d 61 63 69 6e | 74 6f 73 68 20 27 43 44 | a Macin|tosh 'CD|
|00000a00| 45 46 27 20 72 65 73 6f | 75 72 63 65 0d 57 72 69 |EF' reso|urce.Wri|
|00000a10| 74 74 65 6e 3a 09 36 2f | 34 2f 39 31 0d 4c 61 73 |tten:.6/|4/91.Las|
|00000a20| 74 20 72 65 76 69 65 77 | 65 64 3a 09 38 2f 31 2f |t review|ed:.8/1/|
|00000a30| 39 32 0d 43 61 6e 20 79 | 6f 75 20 72 65 63 6f 6d |92.Can y|ou recom|
|00000a40| 6d 65 6e 64 20 64 6f 63 | 75 6d 65 6e 74 61 74 69 |mend doc|umentati|
|00000a50| 6f 6e 20 64 65 73 63 72 | 69 62 69 6e 67 20 74 65 |on descr|ibing te|
|00000a60| 63 68 6e 69 71 75 65 73 | 20 66 6f 72 20 64 65 62 |chniques| for deb|
|00000a70| 75 67 67 69 6e 67 20 27 | 43 44 45 46 27 73 3f 0d |ugging '|CDEF's?.|
|00000a80| 5f 5f 5f 0d 59 6f 75 20 | 64 65 62 75 67 20 27 43 |___.You |debug 'C|
|00000a90| 44 45 46 27 73 20 69 6e | 20 61 6c 6d 6f 73 74 20 |DEF's in| almost |
|00000aa0| 74 68 65 20 73 61 6d 65 | 20 77 61 79 20 74 68 61 |the same| way tha|
|00000ab0| 74 20 79 6f 75 20 64 65 | 62 75 67 20 61 6e 79 74 |t you de|bug anyt|
|00000ac0| 68 69 6e 67 20 65 6c 73 | 65 2e 20 59 6f 75 20 73 |hing els|e. You s|
|00000ad0| 68 6f 75 6c 64 20 66 61 | 6d 69 6c 69 61 72 69 7a |hould fa|miliariz|
|00000ae0| 65 20 79 6f 75 72 73 65 | 6c 66 20 77 69 74 68 20 |e yourse|lf with |
|00000af0| 74 68 65 20 6f 72 64 65 | 72 20 74 68 61 74 20 6d |the orde|r that m|
|00000b00| 65 73 73 61 67 65 73 20 | 61 72 65 20 72 65 63 65 |essages |are rece|
|00000b10| 69 76 65 64 20 77 68 65 | 6e 20 63 65 72 74 61 69 |ived whe|n certai|
|00000b20| 6e 20 61 63 74 69 6f 6e | 73 20 74 61 6b 65 20 70 |n action|s take p|
|00000b30| 6c 61 63 65 2e 20 4f 6e | 65 20 77 61 79 20 74 6f |lace. On|e way to|
|00000b40| 20 64 6f 20 74 68 69 73 | 20 69 73 20 74 6f 20 69 | do this| is to i|
|00000b50| 6e 73 74 61 6c 6c 20 73 | 6f 6d 65 20 62 72 65 61 |nstall s|ome brea|
|00000b60| 6b 70 6f 69 6e 74 73 20 | 69 6e 20 74 68 65 20 6d |kpoints |in the m|
|00000b70| 61 69 6e 20 72 6f 75 74 | 69 6e 65 20 6f 66 20 44 |ain rout|ine of D|
|00000b80| 54 53 d5 73 20 73 61 6d | 70 6c 65 20 27 43 44 45 |TS.s sam|ple 'CDE|
|00000b90| 46 27 2c 20 77 61 74 63 | 68 20 74 68 65 20 6d 65 |F', watc|h the me|
|00000ba0| 73 73 61 67 65 73 20 67 | 6f 20 62 79 2c 20 61 6e |ssages g|o by, an|
|00000bb0| 64 20 65 78 61 6d 69 6e | 65 20 74 68 65 20 70 61 |d examin|e the pa|
|00000bc0| 72 61 6d 65 74 65 72 73 | 20 74 68 61 74 20 61 72 |rameters| that ar|
|00000bd0| 65 20 70 61 73 73 65 64 | 2e 20 54 68 69 73 20 77 |e passed|. This w|
|00000be0| 61 79 20 79 6f 75 20 73 | 68 6f 75 6c 64 20 62 65 |ay you s|hould be|
|00000bf0| 20 61 62 6c 65 20 74 6f | 20 70 72 65 64 69 63 74 | able to| predict|
|00000c00| 20 65 78 61 63 74 6c 79 | 20 77 68 61 74 20 6d 65 | exactly| what me|
|00000c10| 73 73 61 67 65 73 20 79 | 6f 75 20 73 68 6f 75 6c |ssages y|ou shoul|
|00000c20| 64 20 72 65 63 65 69 76 | 65 2e 20 28 42 79 20 74 |d receiv|e. (By t|
|00000c30| 68 65 20 77 61 79 2c 20 | 62 65 20 73 75 72 65 20 |he way, |be sure |
|00000c40| 74 6f 20 72 65 61 64 20 | 74 68 65 20 4d 61 63 69 |to read |the Maci|
|00000c50| 6e 74 6f 73 68 20 54 65 | 63 68 6e 69 63 61 6c 20 |ntosh Te|chnical |
|00000c60| 4e 6f 74 65 20 d2 54 68 | 65 20 4a 6f 79 20 4f 66 |Note .Th|e Joy Of|
|00000c70| 20 42 65 69 6e 67 20 33 | 32 2d 42 69 74 20 43 6c | Being 3|2-Bit Cl|
|00000c80| 65 61 6e d3 20 6f 6e 20 | 33 32 2d 62 69 74 20 63 |ean. on |32-bit c|
|00000c90| 6c 65 61 6e 6c 69 6e 65 | 73 73 20 66 6f 72 20 69 |leanline|ss for i|
|00000ca0| 6e 66 6f 72 6d 61 74 69 | 6f 6e 20 6f 6e 20 74 68 |nformati|on on th|
|00000cb0| 65 20 6e 65 77 20 27 43 | 44 45 46 27 20 6d 65 73 |e new 'C|DEF' mes|
|00000cc0| 73 61 67 65 73 2e 29 0d | 4a 75 73 74 20 61 73 20 |sages.).|Just as |
|00000cd0| 61 6e 20 61 73 69 64 65 | 2c 20 77 68 65 6e 20 74 |an aside|, when t|
|00000ce0| 72 61 63 69 6e 67 20 74 | 68 72 6f 75 67 68 20 61 |racing t|hrough a|
|00000cf0| 20 27 43 44 45 46 27 2c | 20 75 73 65 20 74 68 65 | 'CDEF',| use the|
|00000d00| 20 66 6f 6c 6c 6f 77 69 | 6e 67 20 74 6f 20 62 72 | followi|ng to br|
|00000d10| 65 61 6b 20 63 6f 6e 64 | 69 74 69 6f 6e 61 6c 6c |eak cond|itionall|
|00000d20| 79 20 61 74 20 63 65 72 | 74 61 69 6e 20 70 6f 69 |y at cer|tain poi|
|00000d30| 6e 74 73 20 6f 6e 6c 79 | 20 69 66 20 74 68 65 20 |nts only| if the |
|00000d40| 53 68 69 66 74 20 6b 65 | 79 20 69 73 20 68 65 6c |Shift ke|y is hel|
|00000d50| 64 20 64 6f 77 6e 3a 0d | 20 20 46 75 6e 63 74 69 |d down:.| Functi|
|00000d60| 6f 6e 20 54 65 73 74 53 | 68 69 66 74 3a 42 6f 6f |on TestS|hift:Boo|
|00000d70| 6c 65 61 6e 3b 0d 20 20 | 20 20 20 20 49 6e 4c 69 |lean;. | InLi|
|00000d80| 6e 65 20 24 31 45 42 38 | 2c 24 30 31 37 42 3b 0d |ne $1EB8|,$017B;.|
|00000d90| 54 68 65 6e 2c 20 77 68 | 65 6e 65 76 65 72 20 79 |Then, wh|enever y|
|00000da0| 6f 75 20 77 61 6e 74 20 | 74 6f 20 62 72 65 61 6b |ou want |to break|
|00000db0| 2c 20 69 6e 73 65 72 74 | 0d 20 20 49 66 20 54 65 |, insert|. If Te|
|00000dc0| 73 74 53 68 69 66 74 20 | 74 68 65 6e 20 44 65 62 |stShift |then Deb|
|00000dd0| 75 67 53 74 72 28 27 53 | 74 6f 70 70 65 64 20 62 |ugStr('S|topped b|
|00000de0| 65 63 61 75 73 65 20 79 | 6f 75 20 68 65 6c 64 20 |ecause y|ou held |
|00000df0| 64 6f 77 6e 20 74 68 65 | 20 73 68 69 66 74 20 6b |down the| shift k|
|00000e00| 65 79 21 27 29 3b 0d 43 | 6f 6c 6f 72 20 77 69 74 |ey!');.C|olor wit|
|00000e10| 68 20 4d 61 63 69 6e 74 | 6f 73 68 20 72 61 64 69 |h Macint|osh radi|
|00000e20| 6f 20 62 75 74 74 6f 6e | 20 61 6e 64 20 63 68 65 |o button| and che|
|00000e30| 63 6b 20 62 6f 78 20 63 | 6f 6e 74 72 6f 6c 73 0d |ck box c|ontrols.|
|00000e40| 57 72 69 74 74 65 6e 3a | 09 36 2f 31 31 2f 39 31 |Written:|.6/11/91|
|00000e50| 0d 4c 61 73 74 20 72 65 | 76 69 65 77 65 64 3a 09 |.Last re|viewed:.|
|00000e60| 38 2f 31 2f 39 32 0d 49 | 20 63 61 6e 20 63 6f 6e |8/1/92.I| can con|
|00000e70| 74 72 6f 6c 20 74 68 65 | 20 63 6f 6c 6f 72 20 6f |trol the| color o|
|00000e80| 66 20 61 20 4d 61 63 69 | 6e 74 6f 73 68 20 72 61 |f a Maci|ntosh ra|
|00000e90| 64 69 6f 20 62 75 74 74 | 6f 6e 20 61 6e 64 20 69 |dio butt|on and i|
|00000ea0| 74 73 20 61 63 63 6f 6d | 70 61 6e 79 69 6e 67 20 |ts accom|panying |
|00000eb0| 74 65 78 74 20 75 73 69 | 6e 67 20 61 20 63 6f 6e |text usi|ng a con|
|00000ec0| 74 72 6f 6c 20 63 6f 6c | 6f 72 20 74 61 62 6c 65 |trol col|or table|
|00000ed0| 2c 20 62 75 74 20 49 20 | 61 6d 20 6e 6f 74 20 61 |, but I |am not a|
|00000ee0| 62 6c 65 20 74 6f 20 65 | 78 65 72 63 69 73 65 20 |ble to e|xercise |
|00000ef0| 6d 75 63 68 20 63 6f 6e | 74 72 6f 6c 20 6f 76 65 |much con|trol ove|
|00000f00| 72 20 74 68 65 20 63 6f | 6c 6f 72 20 6f 66 20 74 |r the co|lor of t|
|00000f10| 68 65 20 62 61 63 6b 67 | 72 6f 75 6e 64 20 72 65 |he backg|round re|
|00000f20| 63 74 61 6e 67 6c 65 2e | 20 4c 65 74 d5 73 20 73 |ctangle.| Let.s s|
|00000f30| 61 79 2c 20 66 6f 72 20 | 65 78 61 6d 70 6c 65 2c |ay, for |example,|
|00000f40| 20 74 68 61 74 20 49 20 | 63 72 65 61 74 65 20 61 | that I |create a|
|00000f50| 20 77 69 6e 64 6f 77 20 | 77 68 6f 73 65 20 63 6f | window |whose co|
|00000f60| 6e 74 65 6e 74 20 61 72 | 65 61 20 69 73 20 67 72 |ntent ar|ea is gr|
|00000f70| 61 79 20 28 75 73 69 6e | 67 20 53 65 74 57 69 6e |ay (usin|g SetWin|
|00000f80| 43 6f 6c 6f 72 29 2e 20 | 57 69 74 68 69 6e 20 74 |Color). |Within t|
|00000f90| 68 65 20 77 69 6e 64 6f | 77 2c 20 49 20 64 72 61 |he windo|w, I dra|
|00000fa0| 77 20 61 20 62 6c 61 63 | 6b 20 62 6f 78 2c 20 61 |w a blac|k box, a|
|00000fb0| 6e 64 20 77 69 74 68 69 | 6e 20 74 68 65 20 62 6c |nd withi|n the bl|
|00000fc0| 61 63 6b 20 62 6f 78 2c | 20 49 20 64 72 61 77 20 |ack box,| I draw |
|00000fd0| 61 20 70 61 69 72 20 6f | 66 20 72 61 64 69 6f 62 |a pair o|f radiob|
|00000fe0| 75 74 74 6f 6e 73 20 77 | 68 6f 73 65 20 74 65 78 |uttons w|hose tex|
|00000ff0| 74 20 63 6f 6c 6f 72 20 | 69 73 20 77 68 69 74 65 |t color |is white|
|00001000| 2e 20 49 20 77 6f 75 6c | 64 20 6c 69 6b 65 20 74 |. I woul|d like t|
|00001010| 68 65 20 62 61 63 6b 67 | 72 6f 75 6e 64 20 72 65 |he backg|round re|
|00001020| 63 74 61 6e 67 6c 65 73 | 20 6f 66 20 74 68 65 20 |ctangles| of the |
|00001030| 72 61 64 69 6f 62 75 74 | 74 6f 6e 73 20 74 6f 20 |radiobut|tons to |
|00001040| 62 65 20 62 6c 61 63 6b | 20 73 6f 20 74 68 61 74 |be black| so that|
|00001050| 20 74 68 65 79 20 77 69 | 6c 6c 20 6d 61 74 63 68 | they wi|ll match|
|00001060| 20 74 68 65 20 63 6f 6c | 6f 72 20 6f 66 20 74 68 | the col|or of th|
|00001070| 65 20 62 6f 78 2e 20 55 | 6e 66 6f 72 74 75 6e 61 |e box. U|nfortuna|
|00001080| 74 65 6c 79 2c 20 75 73 | 69 6e 67 20 44 72 61 77 |tely, us|ing Draw|
|00001090| 31 43 6f 6e 74 72 6f 6c | 2c 20 74 68 65 20 43 6f |1Control|, the Co|
|000010a0| 6e 74 72 6f 6c 20 4d 61 | 6e 61 67 65 72 20 73 65 |ntrol Ma|nager se|
|000010b0| 65 6d 73 20 74 6f 20 64 | 72 61 77 20 74 68 65 20 |ems to d|raw the |
|000010c0| 62 61 63 6b 67 72 6f 75 | 6e 64 20 72 65 63 74 61 |backgrou|nd recta|
|000010d0| 6e 67 6c 65 20 75 73 69 | 6e 67 20 74 68 65 20 63 |ngle usi|ng the c|
|000010e0| 6f 6e 74 65 6e 74 20 63 | 6f 6c 6f 72 20 6f 66 20 |ontent c|olor of |
|000010f0| 74 68 65 20 77 69 6e 64 | 6f 77 20 28 69 6e 20 74 |the wind|ow (in t|
|00001100| 68 69 73 20 63 61 73 65 | 2c 20 67 72 61 79 29 2e |his case|, gray).|
|00001110| 20 49 73 20 74 68 65 72 | 65 20 61 6e 79 20 65 61 | Is ther|e any ea|
|00001120| 73 79 20 77 61 79 20 74 | 6f 20 67 65 74 20 61 72 |sy way t|o get ar|
|00001130| 6f 75 6e 64 20 74 68 69 | 73 3f 20 28 43 61 6c 6c |ound thi|s? (Call|
|00001140| 73 20 74 6f 20 52 47 42 | 46 6f 72 65 43 6f 6c 6f |s to RGB|ForeColo|
|00001150| 72 20 61 6e 64 20 52 47 | 42 42 61 63 6b 43 6f 6c |r and RG|BBackCol|
|00001160| 6f 72 20 73 65 65 6d 20 | 74 6f 20 68 61 76 65 20 |or seem |to have |
|00001170| 6e 6f 20 65 66 66 65 63 | 74 20 64 75 72 69 6e 67 |no effec|t during|
|00001180| 20 44 72 61 77 31 43 6f | 6e 74 72 6f 6c 2e 29 0d | Draw1Co|ntrol.).|
|00001190| 5f 5f 5f 0d 54 68 65 20 | 65 78 70 6c 61 6e 61 74 |___.The |explanat|
|000011a0| 69 6f 6e 20 66 6f 72 20 | 74 68 65 20 70 72 6f 62 |ion for |the prob|
|000011b0| 6c 65 6d 73 20 79 6f 75 | 20 61 72 65 20 68 61 76 |lems you| are hav|
|000011c0| 69 6e 67 20 69 73 20 76 | 65 72 79 20 73 69 6d 70 |ing is v|ery simp|
|000011d0| 6c 65 2e 20 53 74 61 6e | 64 61 72 64 20 63 68 65 |le. Stan|dard che|
|000011e0| 63 6b 20 62 6f 78 65 73 | 20 61 6e 64 20 72 61 64 |ck boxes| and rad|
|000011f0| 69 6f 20 62 75 74 74 6f | 6e 73 20 75 73 65 20 74 |io butto|ns use t|
|00001200| 68 65 20 77 69 6e 64 6f | 77 20 63 6f 6e 74 65 6e |he windo|w conten|
|00001210| 74 20 63 6f 6c 6f 72 20 | 66 6f 72 20 74 68 65 69 |t color |for thei|
|00001220| 72 20 62 61 63 6b 67 72 | 6f 75 6e 64 2e 20 54 68 |r backgr|ound. Th|
|00001230| 69 73 20 69 73 20 62 79 | 20 64 65 73 69 67 6e 20 |is is by| design |
|00001240| 73 69 6e 63 65 20 74 68 | 65 20 74 65 78 74 20 6f |since th|e text o|
|00001250| 66 20 74 68 65 20 62 75 | 74 74 6f 6e 20 69 73 20 |f the bu|tton is |
|00001260| 6e 6f 74 20 62 6f 75 6e | 64 65 64 20 62 79 20 61 |not boun|ded by a|
|00001270| 6e 79 74 68 69 6e 67 2e | 20 20 48 65 72 65 20 61 |nything.| Here a|
|00001280| 72 65 20 74 77 6f 20 72 | 65 73 6f 6c 75 74 69 6f |re two r|esolutio|
|00001290| 6e 73 20 74 6f 20 79 6f | 75 72 20 70 72 6f 62 6c |ns to yo|ur probl|
|000012a0| 65 6d 3a 20 59 6f 75 20 | 63 61 6e 20 73 69 6d 70 |em: You |can simp|
|000012b0| 6c 79 20 73 65 74 20 79 | 6f 75 72 20 77 69 6e 64 |ly set y|our wind|
|000012c0| 6f 77 20 20 62 61 63 6b | 67 72 6f 75 6e 64 20 74 |ow back|ground t|
|000012d0| 6f 20 74 68 65 20 62 61 | 63 6b 67 72 6f 75 6e 64 |o the ba|ckground|
|000012e0| 20 79 6f 75 20 77 61 6e | 74 20 74 68 65 20 62 75 | you wan|t the bu|
|000012f0| 74 74 6f 6e 20 74 6f 20 | 68 61 76 65 2c 20 6f 72 |tton to |have, or|
|00001300| 20 79 6f 75 20 63 61 6e | 20 77 72 69 74 65 20 20 | you can| write |
|00001310| 79 6f 75 72 20 6f 77 6e | 20 27 43 44 45 46 27 20 |your own| 'CDEF' |
|00001320| 74 6f 20 68 61 6e 64 6c | 65 20 62 75 74 74 6f 6e |to handl|e button|
|00001330| 73 20 61 6e 64 20 68 61 | 76 65 20 69 74 20 75 73 |s and ha|ve it us|
|00001340| 65 20 74 68 65 20 63 6f | 6e 74 72 6f 6c d5 73 20 |e the co|ntrol.s |
|00001350| 62 61 63 6b 67 72 6f 75 | 6e 64 20 20 63 6f 6c 6f |backgrou|nd colo|
|00001360| 72 20 69 6e 73 74 65 61 | 64 20 6f 66 20 74 68 65 |r instea|d of the|
|00001370| 20 77 69 6e 64 6f 77 d5 | 73 20 63 6f 6e 74 65 6e | window.|s conten|
|00001380| 74 20 63 6f 6c 6f 72 2e | 20 59 6f 75 d5 6c 6c 20 |t color.| You.ll |
|00001390| 66 69 6e 64 20 73 61 6d | 70 6c 65 20 63 6f 64 65 |find sam|ple code|
|000013a0| 20 74 68 61 74 20 64 6f | 65 73 20 74 68 69 73 20 | that do|es this |
|000013b0| 69 6e 20 74 68 65 20 53 | 6e 69 70 70 65 74 73 20 |in the S|nippets |
|000013c0| 66 6f 6c 64 65 72 20 6f | 6e 20 41 70 70 6c 65 4c |folder o|n AppleL|
|000013d0| 69 6e 6b 20 61 6e 64 20 | 74 68 65 20 6c 61 74 65 |ink and |the late|
|000013e0| 73 74 20 44 65 76 65 6c | 6f 70 65 72 20 43 44 73 |st Devel|oper CDs|
|000013f0| 2e 0d 43 68 61 6e 67 69 | 6e 67 20 61 20 4d 61 63 |..Changi|ng a Mac|
|00001400| 69 6e 74 6f 73 68 20 63 | 6f 6e 74 72 6f 6c d5 73 |intosh c|ontrol.s|
|00001410| 20 76 61 72 69 61 6e 74 | 0d 57 72 69 74 74 65 6e | variant|.Written|
|00001420| 3a 09 31 30 2f 33 2f 39 | 31 0d 4c 61 73 74 20 72 |:.10/3/9|1.Last r|
|00001430| 65 76 69 65 77 65 64 3a | 09 38 2f 31 2f 39 32 0d |eviewed:|.8/1/92.|
|00001440| 57 68 61 74 20 69 73 20 | 74 68 65 20 70 72 6f 70 |What is |the prop|
|00001450| 65 72 20 6d 65 74 68 6f | 64 20 74 6f 20 73 65 74 |er metho|d to set|
|00001460| 20 61 20 63 6f 6e 74 72 | 6f 6c d5 73 20 76 61 72 | a contr|ol.s var|
|00001470| 69 61 6e 74 20 66 69 65 | 6c 64 2c 20 69 66 20 74 |iant fie|ld, if t|
|00001480| 68 65 72 65 d5 73 20 6e | 6f 20 53 65 74 43 56 61 |here.s n|o SetCVa|
|00001490| 72 69 61 6e 74 20 74 72 | 61 70 3f 0d 5f 5f 5f 0d |riant tr|ap?.___.|
|000014a0| 54 68 65 72 65 20 69 73 | 20 6e 6f 20 77 61 79 20 |There is| no way |
|000014b0| 74 6f 20 73 65 74 20 74 | 68 65 20 56 61 72 69 61 |to set t|he Varia|
|000014c0| 6e 74 20 66 69 65 6c 64 | 20 6f 66 20 61 20 63 6f |nt field| of a co|
|000014d0| 6e 74 72 6f 6c 20 66 72 | 6f 6d 20 74 68 65 20 74 |ntrol fr|om the t|
|000014e0| 6f 6f 6c 62 6f 78 2e 20 | 53 74 61 6e 64 61 72 64 |oolbox. |Standard|
|000014f0| 20 63 6f 6e 74 72 6f 6c | 73 20 64 6f 20 6e 6f 74 | control|s do not|
|00001500| 20 73 75 70 70 6f 72 74 | 20 74 68 65 20 64 79 6e | support| the dyn|
|00001510| 61 6d 69 63 20 6d 6f 64 | 69 66 69 63 61 74 69 6f |amic mod|ificatio|
|00001520| 6e 20 6f 66 20 74 68 65 | 20 76 61 72 69 61 6e 74 |n of the| variant|
|00001530| 20 66 69 65 6c 64 3b 20 | 74 68 65 79 20 61 72 65 | field; |they are|
|00001540| 20 6e 6f 74 20 74 65 73 | 74 65 64 20 66 6f 72 20 | not tes|ted for |
|00001550| 74 68 69 73 20 61 6e 64 | 20 61 6e 20 75 6e 64 65 |this and| an unde|
|00001560| 66 69 6e 65 64 20 65 72 | 72 6f 72 20 63 6f 75 6c |fined er|ror coul|
|00001570| 64 20 72 65 73 75 6c 74 | 2e 20 41 73 20 66 6f 72 |d result|. As for|
|00001580| 20 63 75 73 74 6f 6d 20 | 63 6f 6e 74 72 6f 6c 73 | custom |controls|
|00001590| 2c 20 69 66 20 79 6f 75 | 20 6e 65 65 64 20 74 6f |, if you| need to|
|000015a0| 20 63 68 61 6e 67 65 20 | 61 20 76 61 72 69 61 6e | change |a varian|
|000015b0| 74 20 6d 69 64 77 61 79 | 20 74 68 72 6f 75 67 68 |t midway| through|
|000015c0| 20 74 68 65 20 63 6f 6e | 74 72 6f 6c d5 73 20 75 | the con|trol.s u|
|000015d0| 73 65 2c 20 69 74 d5 73 | 20 62 65 74 74 65 72 20 |se, it.s| better |
|000015e0| 6e 6f 74 20 74 6f 20 75 | 73 65 20 74 68 65 20 76 |not to u|se the v|
|000015f0| 61 72 69 61 6e 74 20 66 | 69 65 6c 64 20 61 74 20 |ariant f|ield at |
|00001600| 61 6c 6c 2c 20 62 75 74 | 20 69 6e 73 74 65 61 64 |all, but| instead|
|00001610| 20 74 6f 20 73 74 6f 72 | 65 20 79 6f 75 72 20 6f | to stor|e your o|
|00001620| 77 6e 20 64 61 74 61 20 | 73 74 72 75 63 74 75 72 |wn data |structur|
|00001630| 65 20 69 6e 20 74 68 65 | 20 63 74 72 6c 44 61 74 |e in the| ctrlDat|
|00001640| 61 20 66 69 65 6c 64 20 | 74 6f 20 74 72 61 63 6b |a field |to track|
|00001650| 20 77 68 61 74 20 74 79 | 70 65 20 6f 66 20 63 6f | what ty|pe of co|
|00001660| 6e 74 72 6f 6c 20 79 6f | 75 20 61 72 65 20 64 72 |ntrol yo|u are dr|
|00001670| 61 77 69 6e 67 2e 20 54 | 68 65 20 72 65 61 73 6f |awing. T|he reaso|
|00001680| 6e 20 66 6f 72 20 74 68 | 69 73 20 69 73 20 74 68 |n for th|is is th|
|00001690| 61 74 20 74 68 65 20 76 | 61 72 69 61 6e 74 20 66 |at the v|ariant f|
|000016a0| 69 65 6c 64 20 69 73 20 | 6e 6f 74 20 61 6c 77 61 |ield is |not alwa|
|000016b0| 79 73 20 69 6e 20 74 68 | 65 20 73 61 6d 65 20 70 |ys in th|e same p|
|000016c0| 6c 61 63 65 2e 20 54 68 | 65 20 6f 6e 6c 79 20 74 |lace. Th|e only t|
|000016d0| 69 6d 65 20 69 74 20 69 | 73 20 69 6e 20 61 20 77 |ime it i|s in a w|
|000016e0| 65 6c 6c 2d 64 65 66 69 | 6e 65 64 20 70 6c 61 63 |ell-defi|ned plac|
|000016f0| 65 20 69 73 20 77 68 65 | 6e 20 79 6f 75 20 61 72 |e is whe|n you ar|
|00001700| 65 20 6f 70 65 72 61 74 | 69 6e 67 20 69 6e 20 32 |e operat|ing in 2|
|00001710| 34 2d 62 69 74 20 6d 6f | 64 65 20 28 74 68 65 6e |4-bit mo|de (then|
|00001720| 20 69 74 20 69 73 20 73 | 74 6f 72 65 64 20 69 6e | it is s|tored in|
|00001730| 20 74 68 65 20 68 69 67 | 68 20 62 79 74 65 20 6f | the hig|h byte o|
|00001740| 66 20 74 68 65 20 63 6f | 6e 74 72 6f 6c 73 20 64 |f the co|ntrols d|
|00001750| 65 66 70 72 6f 63 20 68 | 61 6e 64 6c 65 2c 20 61 |efproc h|andle, a|
|00001760| 73 20 64 6f 63 75 6d 65 | 6e 74 65 64 20 69 6e 20 |s docume|nted in |
|00001770| 49 6e 73 69 64 65 20 4d | 61 63 69 6e 74 6f 73 68 |Inside M|acintosh|
|00001780| 20 56 6f 6c 75 6d 65 20 | 49 29 2e 20 57 68 65 6e | Volume |I). When|
|00001790| 20 79 6f 75 20 61 72 65 | 20 69 6e 20 33 32 2d 62 | you are| in 32-b|
|000017a0| 69 74 20 6d 6f 64 65 2c | 20 69 74 20 69 73 20 73 |it mode,| it is s|
|000017b0| 74 6f 72 65 64 20 69 6e | 20 74 68 65 20 41 75 78 |tored in| the Aux|
|000017c0| 43 74 6c 52 65 63 20 69 | 6e 20 61 20 70 72 69 76 |CtlRec i|n a priv|
|000017d0| 61 74 65 20 6c 6f 63 61 | 74 69 6f 6e 2e 28 68 69 |ate loca|tion.(hi|
|000017e0| 67 68 20 62 79 74 65 20 | 6f 66 20 74 68 65 20 52 |gh byte |of the R|
|000017f0| 65 73 65 72 76 65 64 20 | 66 69 65 6c 64 20 72 69 |eserved |field ri|
|00001800| 67 68 74 20 6e 6f 77 2c | 20 62 75 74 20 74 68 61 |ght now,| but tha|
|00001810| 74 20 63 61 6e 20 63 68 | 61 6e 67 65 20 69 6e 20 |t can ch|ange in |
|00001820| 61 6e 20 69 6e 73 74 61 | 6e 74 2e 2e 2e 29 0d 43 |an insta|nt...).C|
|00001830| 6f 6e 74 72 6f 6c 20 50 | 61 6e 65 6c 20 51 26 41 |ontrol P|anel Q&A|
|00001840| 73 0d 54 6f 6f 6c 62 6f | 78 09 4d 2e 54 42 2e 43 |s.Toolbo|x.M.TB.C|
|00001850| 6f 6e 74 72 6f 6c 50 61 | 6e 65 6c 2e 51 26 41 73 |ontrolPa|nel.Q&As|
|00001860| 0d 52 65 76 69 73 65 64 | 20 62 79 3a 09 44 65 76 |.Revised| by:.Dev|
|00001870| 65 6c 6f 70 65 72 20 53 | 75 70 70 6f 72 74 20 43 |eloper S|upport C|
|00001880| 65 6e 74 65 72 09 4f 63 | 74 6f 62 65 72 20 31 39 |enter.Oc|tober 19|
|00001890| 39 32 0d 57 72 69 74 74 | 65 6e 20 62 79 3a 09 44 |92.Writt|en by:.D|
|000018a0| 65 76 65 6c 6f 70 65 72 | 20 53 75 70 70 6f 72 74 |eveloper| Support|
|000018b0| 20 43 65 6e 74 65 72 09 | 4f 63 74 6f 62 65 72 20 | Center.|October |
|000018c0| 31 39 39 30 0d 54 68 69 | 73 20 54 65 63 68 6e 69 |1990.Thi|s Techni|
|000018d0| 63 61 6c 20 4e 6f 74 65 | 20 63 6f 6e 74 61 69 6e |cal Note| contain|
|000018e0| 73 20 61 20 63 6f 6c 6c | 65 63 74 69 6f 6e 20 6f |s a coll|ection o|
|000018f0| 66 20 51 26 41 73 20 72 | 65 6c 61 74 69 6e 67 20 |f Q&As r|elating |
|00001900| 74 6f 20 61 20 73 70 65 | 63 69 66 69 63 20 74 6f |to a spe|cific to|
|00001910| 70 69 63 d1 71 75 65 73 | 74 69 6f 6e 73 20 79 6f |pic.ques|tions yo|
|00001920| 75 d5 76 65 20 73 65 6e | 74 20 74 68 65 20 44 65 |u.ve sen|t the De|
|00001930| 76 65 6c 6f 70 65 72 20 | 53 75 70 70 6f 72 74 20 |veloper |Support |
|00001940| 43 65 6e 74 65 72 20 28 | 44 53 43 29 20 61 6c 6f |Center (|DSC) alo|
|00001950| 6e 67 20 77 69 74 68 20 | 61 6e 73 77 65 72 73 20 |ng with |answers |
|00001960| 66 72 6f 6d 20 74 68 65 | 20 44 53 43 20 65 6e 67 |from the| DSC eng|
|00001970| 69 6e 65 65 72 73 2e 20 | 57 68 69 6c 65 20 44 53 |ineers. |While DS|
|00001980| 43 20 65 6e 67 69 6e 65 | 65 72 73 20 68 61 76 65 |C engine|ers have|
|00001990| 20 63 68 65 63 6b 65 64 | 20 74 68 65 20 51 26 41 | checked| the Q&A|
|000019a0| 20 63 6f 6e 74 65 6e 74 | 20 66 6f 72 20 61 63 63 | content| for acc|
|000019b0| 75 72 61 63 79 2c 20 74 | 68 65 20 51 26 41 20 54 |uracy, t|he Q&A T|
|000019c0| 65 63 68 6e 69 63 61 6c | 20 4e 6f 74 65 73 20 64 |echnical| Notes d|
|000019d0| 6f 6e d5 74 20 68 61 76 | 65 20 74 68 65 20 65 64 |on.t hav|e the ed|
|000019e0| 69 74 69 6e 67 20 61 6e | 64 20 6f 72 67 61 6e 69 |iting an|d organi|
|000019f0| 7a 61 74 69 6f 6e 20 6f | 66 20 6f 74 68 65 72 20 |zation o|f other |
|00001a00| 54 65 63 68 6e 69 63 61 | 6c 20 4e 6f 74 65 73 2e |Technica|l Notes.|
|00001a10| 20 54 68 65 20 51 26 41 | 20 66 75 6e 63 74 69 6f | The Q&A| functio|
|00001a20| 6e 20 69 73 20 74 6f 20 | 67 65 74 20 6e 65 77 20 |n is to |get new |
|00001a30| 74 65 63 68 6e 69 63 61 | 6c 20 69 6e 66 6f 72 6d |technica|l inform|
|00001a40| 61 74 69 6f 6e 20 61 6e | 64 20 75 70 64 61 74 65 |ation an|d update|
|00001a50| 73 20 74 6f 20 79 6f 75 | 20 71 75 69 63 6b 6c 79 |s to you| quickly|
|00001a60| 2c 20 73 61 76 69 6e 67 | 20 74 68 65 20 70 6f 6c |, saving| the pol|
|00001a70| 69 73 68 20 66 6f 72 20 | 77 68 65 6e 20 74 68 65 |ish for |when the|
|00001a80| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 20 6d 69 67 | informa|tion mig|
|00001a90| 72 61 74 65 73 20 69 6e | 74 6f 20 72 65 66 65 72 |rates in|to refer|
|00001aa0| 65 6e 63 65 20 6d 61 6e | 75 61 6c 73 2e 0d 51 26 |ence man|uals..Q&|
|00001ab0| 41 73 20 61 72 65 20 6e | 6f 77 20 69 6e 63 6c 75 |As are n|ow inclu|
|00001ac0| 64 65 64 20 77 69 74 68 | 20 54 65 63 68 6e 69 63 |ded with| Technic|
|00001ad0| 61 6c 20 4e 6f 74 65 73 | 20 74 6f 20 6d 61 6b 65 |al Notes| to make|
|00001ae0| 20 61 63 63 65 73 73 20 | 74 6f 20 74 65 63 68 6e | access |to techn|
|00001af0| 69 63 61 6c 20 75 70 64 | 61 74 65 73 20 65 61 73 |ical upd|ates eas|
|00001b00| 69 65 72 20 66 6f 72 20 | 79 6f 75 2e 20 49 66 20 |ier for |you. If |
|00001b10| 79 6f 75 20 68 61 76 65 | 20 63 6f 6d 6d 65 6e 74 |you have| comment|
|00001b20| 73 20 6f 72 20 73 75 67 | 67 65 73 74 69 6f 6e 73 |s or sug|gestions|
|00001b30| 20 61 62 6f 75 74 20 51 | 26 41 20 63 6f 6e 74 65 | about Q|&A conte|
|00001b40| 6e 74 20 6f 72 20 64 69 | 73 74 72 69 62 75 74 69 |nt or di|stributi|
|00001b50| 6f 6e 2c 20 70 6c 65 61 | 73 65 20 6c 65 74 20 75 |on, plea|se let u|
|00001b60| 73 20 6b 6e 6f 77 20 62 | 79 20 73 65 6e 64 69 6e |s know b|y sendin|
|00001b70| 67 20 61 6e 20 41 70 70 | 6c 65 4c 69 6e 6b 20 74 |g an App|leLink t|
|00001b80| 6f 20 44 45 56 46 45 45 | 44 42 41 43 4b 2e 20 41 |o DEVFEE|DBACK. A|
|00001b90| 70 70 6c 65 20 50 61 72 | 74 6e 65 72 73 20 6d 61 |pple Par|tners ma|
|00001ba0| 79 20 73 65 6e 64 20 74 | 65 63 68 6e 69 63 61 6c |y send t|echnical|
|00001bb0| 20 71 75 65 73 74 69 6f | 6e 73 20 61 62 6f 75 74 | questio|ns about|
|00001bc0| 20 51 26 41 20 63 6f 6e | 74 65 6e 74 20 74 6f 20 | Q&A con|tent to |
|00001bd0| 44 45 56 53 55 50 50 4f | 52 54 20 66 6f 72 20 72 |DEVSUPPO|RT for r|
|00001be0| 65 73 6f 6c 75 74 69 6f | 6e 2e 0d 4e 65 77 20 51 |esolutio|n..New Q|
|00001bf0| 26 41 73 20 61 6e 64 20 | 51 26 41 73 20 72 65 76 |&As and |Q&As rev|
|00001c00| 69 73 65 64 20 74 68 69 | 73 20 6d 6f 6e 74 68 20 |ised thi|s month |
|00001c10| 61 72 65 20 6d 61 72 6b | 65 64 20 77 69 74 68 20 |are mark|ed with |
|00001c20| 61 20 62 61 72 20 69 6e | 20 74 68 65 20 73 69 64 |a bar in| the sid|
|00001c30| 65 20 6d 61 72 67 69 6e | 2e 0d 43 6f 6e 74 72 6f |e margin|..Contro|
|00001c40| 6c 20 50 61 6e 65 6c 20 | 64 65 76 69 63 65 73 20 |l Panel |devices |
|00001c50| 6f 6e 20 74 68 65 20 4d | 61 63 69 6e 74 6f 73 68 |on the M|acintosh|
|00001c60| 20 53 45 0d 57 72 69 74 | 74 65 6e 3a 09 35 2f 33 | SE.Writ|ten:.5/3|
|00001c70| 30 2f 39 30 0d 4c 61 73 | 74 20 72 65 76 69 65 77 |0/90.Las|t review|
|00001c80| 65 64 3a 09 37 2f 32 35 | 2f 39 31 0d 49 d5 6d 20 |ed:.7/25|/91.I.m |
|00001c90| 72 65 77 72 69 74 69 6e | 67 20 61 20 4d 61 63 69 |rewritin|g a Maci|
|00001ca0| 6e 74 6f 73 68 20 49 49 | 20 63 64 65 76 20 66 6f |ntosh II| cdev fo|
|00001cb0| 72 20 74 68 65 20 4d 61 | 63 69 6e 74 6f 73 68 20 |r the Ma|cintosh |
|00001cc0| 53 45 2e 20 49 20 68 61 | 76 65 20 63 68 61 6e 67 |SE. I ha|ve chang|
|00001cd0| 65 64 20 74 68 65 20 27 | 6d 61 63 68 27 20 28 2d |ed the '|mach' (-|
|00001ce0| 34 30 36 34 29 20 72 65 | 73 6f 75 72 63 65 20 66 |4064) re|source f|
|00001cf0| 72 6f 6d 20 24 33 46 46 | 46 20 24 30 30 30 30 20 |rom $3FF|F $0000 |
|00001d00| 74 6f 20 24 46 46 46 46 | 20 24 30 30 30 30 20 73 |to $FFFF| $0000 s|
|00001d10| 6f 20 74 68 65 20 64 65 | 76 69 63 65 20 77 69 6c |o the de|vice wil|
|00001d20| 6c 20 61 70 70 65 61 72 | 20 6f 6e 20 61 6c 6c 20 |l appear| on all |
|00001d30| 6d 61 63 68 69 6e 65 20 | 74 79 70 65 73 2c 20 62 |machine |types, b|
|00001d40| 75 74 20 69 74 20 73 74 | 69 6c 6c 20 64 6f 65 73 |ut it st|ill does|
|00001d50| 6e d5 74 20 73 68 6f 77 | 20 75 70 20 6f 6e 20 74 |n.t show| up on t|
|00001d60| 68 65 20 4d 61 63 69 6e | 74 6f 73 68 20 53 45 2e |he Macin|tosh SE.|
|00001d70| 57 68 61 74 20 65 6c 73 | 65 20 73 68 6f 75 6c 64 |What els|e should|
|00001d80| 20 49 20 63 68 65 63 6b | 20 66 6f 72 3f 0d 5f 5f | I check| for?.__|
|00001d90| 5f 0d 54 72 79 20 72 65 | 62 75 69 6c 64 69 6e 67 |_.Try re|building|
|00001da0| 20 79 6f 75 72 20 43 6f | 6e 74 72 6f 6c 20 50 61 | your Co|ntrol Pa|
|00001db0| 6e 65 6c 20 63 61 63 68 | 65 2c 20 62 79 20 68 6f |nel cach|e, by ho|
|00001dc0| 6c 64 69 6e 67 20 64 6f | 77 6e 20 74 68 65 20 6f |lding do|wn the o|
|00001dd0| 70 74 69 6f 6e 20 61 6e | 64 20 63 6f 6d 6d 61 6e |ption an|d comman|
|00001de0| 64 20 6b 65 79 73 20 77 | 68 69 6c 65 20 6f 70 65 |d keys w|hile ope|
|00001df0| 6e 69 6e 67 20 74 68 65 | 20 43 6f 6e 74 72 6f 6c |ning the| Control|
|00001e00| 20 50 61 6e 65 6c 2e 20 | 54 68 69 73 20 77 69 6c | Panel. |This wil|
|00001e10| 6c 20 72 65 62 75 69 6c | 64 20 74 68 65 20 6c 69 |l rebuil|d the li|
|00001e20| 73 74 20 6f 66 20 74 68 | 69 6e 67 73 20 74 68 61 |st of th|ings tha|
|00001e30| 74 20 74 68 65 20 43 6f | 6e 74 72 6f 6c 20 50 61 |t the Co|ntrol Pa|
|00001e40| 6e 65 6c 20 69 73 20 61 | 62 6c 65 20 74 6f 20 6f |nel is a|ble to o|
|00001e50| 70 65 6e 2e 20 42 65 63 | 61 75 73 65 20 74 68 65 |pen. Bec|ause the|
|00001e60| 72 65 d5 73 20 6e 6f 20 | 43 6f 6e 74 72 6f 6c 20 |re.s no |Control |
|00001e70| 50 61 6e 65 6c 20 44 41 | 20 75 6e 64 65 72 20 53 |Panel DA| under S|
|00001e80| 79 73 74 65 6d 20 37 2c | 20 74 68 69 73 20 74 65 |ystem 7,| this te|
|00001e90| 63 68 6e 69 71 75 65 20 | 77 6f 72 6b 73 20 6f 6e |chnique |works on|
|00001ea0| 6c 79 20 66 6f 72 20 6f | 70 65 72 61 74 69 6e 67 |ly for o|perating|
|00001eb0| 20 73 79 73 74 65 6d 73 | 20 70 72 69 6f 72 20 74 | systems| prior t|
|00001ec0| 6f 20 53 79 73 74 65 6d | 20 37 2e 0d 4d 61 69 6e |o System| 7..Main|
|00001ed0| 20 76 65 72 73 75 73 20 | 61 70 70 6c 69 63 61 74 | versus |applicat|
|00001ee0| 69 6f 6e 20 73 63 72 65 | 65 6e 73 20 77 69 74 68 |ion scre|ens with|
|00001ef0| 20 6d 75 6c 74 69 70 6c | 65 20 64 69 73 70 6c 61 | multipl|e displa|
|00001f00| 79 73 0d 57 72 69 74 74 | 65 6e 3a 09 38 2f 32 30 |ys.Writt|en:.8/20|
|00001f10| 2f 39 31 0d 4c 61 73 74 | 20 72 65 76 69 65 77 65 |/91.Last| reviewe|
|00001f20| 64 3a 09 39 2f 31 36 2f | 39 31 0d 4f 6e 20 61 20 |d:.9/16/|91.On a |
|00001f30| 6d 75 6c 74 69 70 6c 65 | 2d 64 69 73 70 6c 61 79 |multiple|-display|
|00001f40| 20 73 79 73 74 65 6d 2c | 20 6d 6f 73 74 20 63 6f | system,| most co|
|00001f50| 6d 6d 65 72 63 69 61 6c | 20 73 6f 66 74 77 61 72 |mmercial| softwar|
|00001f60| 65 20 63 6f 6d 65 73 20 | 75 70 20 6f 6e 20 74 68 |e comes |up on th|
|00001f70| 65 20 70 72 69 6d 61 72 | 79 20 73 63 72 65 65 6e |e primar|y screen|
|00001f80| 2c 20 65 76 65 6e 20 74 | 68 6f 75 67 68 20 69 74 |, even t|hough it|
|00001f90| 20 6d 61 79 20 6e 65 65 | 64 20 74 68 65 20 63 6f | may nee|d the co|
|00001fa0| 6c 6f 72 20 73 63 72 65 | 65 6e 20 6e 65 78 74 20 |lor scre|en next |
|00001fb0| 64 6f 6f 72 2e 20 49 73 | 20 74 68 65 72 65 20 61 |door. Is| there a|
|00001fc0| 20 75 74 69 6c 69 74 79 | 20 66 6f 72 20 63 68 61 | utility| for cha|
|00001fd0| 6e 67 69 6e 67 20 74 68 | 65 20 64 65 66 61 75 6c |nging th|e defaul|
|00001fe0| 74 20 73 63 72 65 65 6e | 20 74 6f 20 61 20 64 69 |t screen| to a di|
|00001ff0| 66 66 65 72 65 6e 74 20 | 6f 6e 65 20 2a 61 66 74 |fferent |one *aft|
|00002000| 65 72 2a 20 73 74 61 72 | 74 75 70 20 73 6f 20 49 |er* star|tup so I|
|00002010| 20 63 61 6e 20 73 77 69 | 74 63 68 20 74 6f 20 61 | can swi|tch to a|
|00002020| 20 63 6f 6c 6f 72 20 73 | 63 72 65 65 6e 20 66 6f | color s|creen fo|
|00002030| 72 20 63 65 72 74 61 69 | 6e 20 61 70 70 6c 69 63 |r certai|n applic|
|00002040| 61 74 69 6f 6e 73 20 77 | 69 74 68 6f 75 74 20 68 |ations w|ithout h|
|00002050| 61 76 69 6e 67 20 74 6f | 20 72 65 62 6f 6f 74 3f |aving to| reboot?|
|00002060| 0d 5f 5f 5f 0d 41 20 75 | 73 65 72 20 63 61 6e 20 |.___.A u|ser can |
|00002070| 75 73 65 20 4d 6f 6e 69 | 74 6f 72 73 20 74 6f 20 |use Moni|tors to |
|00002080| 63 68 61 6e 67 65 20 74 | 68 65 20 6d 61 69 6e 20 |change t|he main |
|00002090| 73 63 72 65 65 6e 20 28 | 74 68 65 20 6f 6e 65 20 |screen (|the one |
|000020a0| 77 69 74 68 20 74 68 65 | 20 6d 65 6e 75 20 62 61 |with the| menu ba|
|000020b0| 72 29 2e 49 66 20 61 6e | 20 61 70 70 6c 69 63 61 |r).If an| applica|
|000020c0| 74 69 6f 6e 20 6f 72 20 | 75 74 69 6c 69 74 79 20 |tion or |utility |
|000020d0| 77 65 72 65 20 74 6f 20 | 63 68 61 6e 67 65 20 74 |were to |change t|
|000020e0| 68 65 20 6d 61 69 6e 20 | 73 63 72 65 65 6e 20 77 |he main |screen w|
|000020f0| 68 65 6e 65 76 65 72 20 | 69 74 20 77 61 6e 74 73 |henever |it wants|
|00002100| 2c 20 74 68 65 6e 20 65 | 76 65 72 79 20 74 69 6d |, then e|very tim|
|00002110| 65 20 79 6f 75 20 72 75 | 6e 20 61 20 6e 65 77 20 |e you ru|n a new |
|00002120| 61 70 70 6c 69 63 61 74 | 69 6f 6e 2c 20 74 68 65 |applicat|ion, the|
|00002130| 20 6d 65 6e 75 20 62 61 | 72 20 77 6f 75 6c 64 20 | menu ba|r would |
|00002140| 62 65 20 6d 6f 76 65 64 | 20 6f 6e 20 79 6f 75 2e |be moved| on you.|
|00002150| 54 68 69 73 20 77 6f 75 | 6c 64 20 67 65 74 20 72 |This wou|ld get r|
|00002160| 65 65 65 65 65 65 61 6c | 6c 79 20 75 67 6c 79 2e |eeeeeeal|ly ugly.|
|00002170| 20 49 66 20 63 6f 6d 6d | 65 72 63 69 61 6c 20 61 | If comm|ercial a|
|00002180| 70 70 6c 69 63 61 74 69 | 6f 6e 73 20 6e 65 65 64 |pplicati|ons need|
|00002190| 20 28 6f 72 20 72 75 6e | 20 62 65 74 74 65 72 20 | (or run| better |
|000021a0| 6f 6e 29 20 6f 6e 65 20 | 73 63 72 65 65 6e 20 6f |on) one |screen o|
|000021b0| 76 65 72 20 61 6e 6f 74 | 68 65 72 2c 20 74 68 65 |ver anot|her, the|
|000021c0| 79 20 73 68 6f 75 6c 64 | 20 64 6f 20 74 68 65 20 |y should| do the |
|000021d0| 72 69 67 68 74 20 74 68 | 69 6e 67 20 61 6e 64 20 |right th|ing and |
|000021e0| 6c 6f 6f 6b 20 66 6f 72 | 20 74 68 65 20 72 69 67 |look for| the rig|
|000021f0| 68 74 20 73 63 72 65 65 | 6e 20 69 6e 73 74 65 61 |ht scree|n instea|
|00002200| 64 20 6f 66 20 74 68 65 | 20 6d 61 69 6e 20 73 63 |d of the| main sc|
|00002210| 72 65 65 6e 2e 20 54 68 | 65 20 63 6f 64 65 20 74 |reen. Th|e code t|
|00002220| 6f 20 64 6f 20 74 68 69 | 73 20 69 73 20 76 65 72 |o do thi|s is ver|
|00002230| 79 20 65 61 73 79 2e 20 | 54 68 69 73 20 69 73 20 |y easy. |This is |
|00002240| 6e 6f 74 20 74 68 65 20 | 6a 6f 62 20 66 6f 72 20 |not the |job for |
|00002250| 61 20 75 74 69 6c 69 74 | 79 20 70 61 63 6b 61 67 |a utilit|y packag|
|00002260| 65 2e 0d 59 6f 75 20 6e | 65 65 64 20 74 6f 20 72 |e..You n|eed to r|
|00002270| 65 62 6f 6f 74 20 74 68 | 65 20 6d 61 63 68 69 6e |eboot th|e machin|
|00002280| 65 20 65 61 63 68 20 74 | 69 6d 65 20 79 6f 75 20 |e each t|ime you |
|00002290| 63 68 61 6e 67 65 20 74 | 68 65 20 6d 61 69 6e 20 |change t|he main |
|000022a0| 73 63 72 65 65 6e 2c 20 | 62 65 63 61 75 73 65 20 |screen, |because |
|000022b0| 74 68 65 20 4d 61 63 69 | 6e 74 6f 73 68 20 64 6f |the Maci|ntosh do|
|000022c0| 65 73 20 61 20 6c 6f 74 | 20 6f 66 20 63 61 63 68 |es a lot| of cach|
|000022d0| 69 6e 67 20 6f 66 20 69 | 6e 66 6f 72 6d 61 74 69 |ing of i|nformati|
|000022e0| 6f 6e 20 61 6e 64 20 62 | 75 69 6c 64 69 6e 67 20 |on and b|uilding |
|000022f0| 69 6e 74 65 72 6e 61 6c | 20 73 74 72 75 63 74 75 |internal| structu|
|00002300| 72 65 73 20 65 61 72 6c | 79 20 69 6e 20 74 68 65 |res earl|y in the|
|00002310| 20 62 6f 6f 74 20 70 72 | 6f 63 65 73 73 2c 20 77 | boot pr|ocess, w|
|00002320| 68 69 63 68 20 6e 65 65 | 64 20 74 6f 20 62 65 20 |hich nee|d to be |
|00002330| 63 68 61 6e 67 65 64 20 | 65 61 63 68 20 74 69 6d |changed |each tim|
|00002340| 65 20 74 68 65 20 73 63 | 72 65 65 6e 20 69 6e 66 |e the sc|reen inf|
|00002350| 6f 72 6d 61 74 69 6f 6e | 20 69 73 20 63 68 61 6e |ormation| is chan|
|00002360| 67 65 64 2e 20 49 74 20 | 6d 69 67 68 74 20 62 65 |ged. It |might be|
|00002370| 20 70 6f 73 73 69 62 6c | 65 20 74 6f 20 64 6f 20 | possibl|e to do |
|00002380| 74 68 69 73 2c 20 62 75 | 74 20 69 74 20 77 6f 75 |this, bu|t it wou|
|00002390| 6c 64 20 72 65 71 75 69 | 72 65 20 61 20 6c 6f 74 |ld requi|re a lot|
|000023a0| 20 6f 66 20 70 61 74 63 | 68 65 73 20 74 6f 20 74 | of patc|hes to t|
|000023b0| 68 65 20 73 79 73 74 65 | 6d 2c 20 61 73 20 77 65 |he syste|m, as we|
|000023c0| 6c 6c 20 61 73 20 61 20 | 64 65 65 70 20 6b 6e 6f |ll as a |deep kno|
|000023d0| 77 6c 65 64 67 65 20 6f | 66 20 74 68 65 20 69 6e |wledge o|f the in|
|000023e0| 74 65 72 6e 61 6c 73 20 | 6f 66 20 74 68 65 20 52 |ternals |of the R|
|000023f0| 4f 4d 20 61 6e 64 20 4f | 53 2e 20 59 6f 75 d5 6c |OM and O|S. You.l|
|00002400| 6c 20 61 6c 73 6f 20 72 | 75 6e 20 69 6e 74 6f 20 |l also r|un into |
|00002410| 61 20 6c 6f 74 20 6f 66 | 20 63 6f 6d 70 61 74 69 |a lot of| compati|
|00002420| 62 69 6c 69 74 79 20 70 | 72 6f 62 6c 65 6d 73 2e |bility p|roblems.|
|00002430| 20 0d 53 79 73 74 65 6d | 20 37 20 46 69 6e 64 65 | .System| 7 Finde|
|00002440| 72 20 66 69 6c 74 65 72 | 73 20 43 6f 6d 6d 61 6e |r filter|s Comman|
|00002450| 64 2d 6b 65 79 20 6d 65 | 73 73 61 67 65 73 20 66 |d-key me|ssages f|
|00002460| 72 6f 6d 20 63 64 65 76 | 73 0d 57 72 69 74 74 65 |rom cdev|s.Writte|
|00002470| 6e 3a 09 39 2f 32 35 2f | 39 31 0d 4c 61 73 74 20 |n:.9/25/|91.Last |
|00002480| 72 65 76 69 65 77 65 64 | 3a 09 31 30 2f 32 32 2f |reviewed|:.10/22/|
|00002490| 39 31 0d 4f 75 72 20 63 | 64 65 76 73 20 6e 6f 20 |91.Our c|devs no |
|000024a0| 6c 6f 6e 67 65 72 20 72 | 65 63 65 69 76 65 20 6b |longer r|eceive k|
|000024b0| 65 79 2d 64 6f 77 6e 20 | 6d 65 73 73 61 67 65 73 |ey-down |messages|
|000024c0| 20 77 69 74 68 20 74 68 | 65 20 43 6f 6d 6d 61 6e | with th|e Comman|
|000024d0| 64 20 6b 65 79 20 68 65 | 6c 64 20 64 6f 77 6e 20 |d key he|ld down |
|000024e0| 69 6e 20 53 79 73 74 65 | 6d 20 37 2e 20 57 68 79 |in Syste|m 7. Why|
|000024f0| 20 69 73 20 74 68 69 73 | 3f 0d 5f 5f 5f 0d 54 68 | is this|?.___.Th|
|00002500| 69 73 20 69 73 20 74 72 | 75 65 20 75 6e 64 65 72 |is is tr|ue under|
|00002510| 20 53 79 73 74 65 6d 20 | 37 2e 30 2e 20 55 6e 64 | System |7.0. Und|
|00002520| 65 72 20 53 79 73 74 65 | 6d 20 36 2e 30 2e 78 2c |er Syste|m 6.0.x,|
|00002530| 20 77 68 65 6e 20 61 20 | 63 64 65 76 20 69 73 20 | when a |cdev is |
|00002540| 62 72 6f 75 67 68 74 20 | 75 70 20 77 69 74 68 20 |brought |up with |
|00002550| 74 68 65 20 43 6f 6e 74 | 72 6f 6c 20 50 61 6e 65 |the Cont|rol Pane|
|00002560| 6c 20 61 63 74 69 76 65 | 2c 20 74 68 65 20 63 64 |l active|, the cd|
|00002570| 65 76 20 69 73 20 74 68 | 65 20 6f 6e 6c 79 20 70 |ev is th|e only p|
|00002580| 6f 73 73 69 62 6c 65 20 | 72 65 63 69 70 69 65 6e |ossible |recipien|
|00002590| 74 20 6f 66 20 6b 65 79 | 2d 64 6f 77 6e 20 6f 72 |t of key|-down or|
|000025a0| 20 61 75 74 6f 2d 6b 65 | 79 20 65 76 65 6e 74 73 | auto-ke|y events|
|000025b0| 2e 20 55 6e 64 65 72 20 | 53 79 73 74 65 6d 20 37 |. Under |System 7|
|000025c0| 2e 30 2c 20 74 68 65 20 | 46 69 6e 64 65 72 20 68 |.0, the |Finder h|
|000025d0| 61 73 20 62 65 63 6f 6d | 65 20 74 68 65 20 65 76 |as becom|e the ev|
|000025e0| 65 6e 74 2d 73 77 69 74 | 63 68 69 6e 67 20 63 65 |ent-swit|ching ce|
|000025f0| 6e 74 65 72 20 61 6e 64 | 20 6e 6f 77 20 68 61 6e |nter and| now han|
|00002600| 64 6c 65 73 20 74 68 65 | 20 70 61 73 73 69 6e 67 |dles the| passing|
|00002610| 20 6f 66 20 65 76 65 6e | 74 73 20 74 6f 20 74 68 | of even|ts to th|
|00002620| 65 20 63 64 65 76 28 73 | 29 2e 20 59 6f 75 d5 6c |e cdev(s|). You.l|
|00002630| 6c 20 6e 6f 74 65 20 74 | 68 61 74 20 79 6f 75 20 |l note t|hat you |
|00002640| 63 61 6e 20 6e 6f 77 20 | 68 61 76 65 20 6d 75 6c |can now |have mul|
|00002650| 74 69 70 6c 65 20 63 64 | 65 76 73 20 6f 70 65 6e |tiple cd|evs open|
|00002660| 20 73 69 6d 75 6c 74 61 | 6e 65 6f 75 73 6c 79 2e | simulta|neously.|
|00002670| 20 54 68 69 73 20 64 65 | 73 69 67 6e 20 72 61 69 | This de|sign rai|
|00002680| 73 65 64 20 74 68 65 20 | 70 6f 74 65 6e 74 69 61 |sed the |potentia|
|00002690| 6c 20 70 72 6f 62 6c 65 | 6d 20 74 68 61 74 2c 20 |l proble|m that, |
|000026a0| 77 69 74 68 20 74 68 65 | 20 46 69 6e 64 65 72 20 |with the| Finder |
|000026b0| 61 6e 64 20 6f 74 68 65 | 72 20 63 64 65 76 73 20 |and othe|r cdevs |
|000026c0| 61 63 74 69 76 65 20 61 | 74 20 6f 6e 63 65 2c 20 |active a|t once, |
|000026d0| 77 68 69 63 68 20 6f 6e | 65 20 77 6f 75 6c 64 20 |which on|e would |
|000026e0| 62 65 20 74 68 65 20 74 | 61 72 67 65 74 20 6f 66 |be the t|arget of|
|000026f0| 20 74 68 65 20 61 6e 79 | 20 63 6f 6d 6d 61 6e 64 | the any| command|
|00002700| 2d 6b 65 79 20 73 65 71 | 75 65 6e 63 65 2e 0d 49 |-key seq|uence..I|
|00002710| 66 20 79 6f 75 20 75 73 | 65 20 43 6f 6d 6d 61 6e |f you us|e Comman|
|00002720| 64 2d 46 20 77 68 69 6c | 65 20 61 20 63 64 65 76 |d-F whil|e a cdev|
|00002730| 20 69 73 20 6f 70 65 6e | 2c 20 74 68 65 20 46 69 | is open|, the Fi|
|00002740| 6e 64 20 64 69 61 6c 6f | 67 20 62 6f 78 20 61 70 |nd dialo|g box ap|
|00002750| 70 65 61 72 73 20 75 6e | 64 65 72 20 53 79 73 74 |pears un|der Syst|
|00002760| 65 6d 20 37 2e 30 2e 20 | 49 66 20 61 20 63 64 65 |em 7.0. |If a cde|
|00002770| 76 20 69 73 20 64 65 73 | 69 67 6e 65 64 20 74 6f |v is des|igned to|
|00002780| 20 72 65 73 70 6f 6e 64 | 20 74 6f 20 43 6f 6d 6d | respond| to Comm|
|00002790| 61 6e 64 2d 46 2c 20 73 | 68 6f 75 6c 64 20 74 68 |and-F, s|hould th|
|000027a0| 65 20 46 69 6e 64 65 72 | 20 68 61 6e 64 6c 65 20 |e Finder| handle |
|000027b0| 74 68 65 20 63 6f 6d 6d | 61 6e 64 20 73 65 71 75 |the comm|and sequ|
|000027c0| 65 6e 63 65 20 61 73 20 | 61 20 63 6f 6d 6d 61 6e |ence as |a comman|
|000027d0| 64 20 74 6f 20 46 69 6e | 64 2c 20 6f 72 20 73 65 |d to Fin|d, or se|
|000027e0| 6e 64 20 74 68 65 20 73 | 65 71 75 65 6e 63 65 20 |nd the s|equence |
|000027f0| 74 6f 20 74 68 65 20 63 | 64 65 76 3f 0d 54 6f 20 |to the c|dev?.To |
|00002800| 6d 61 69 6e 74 61 69 6e | 20 74 68 65 20 46 69 6e |maintain| the Fin|
|00002810| 64 65 72 20 75 73 65 72 | 20 69 6e 74 65 72 66 61 |der user| interfa|
|00002820| 63 65 2c 20 65 6e 67 69 | 6e 65 65 72 69 6e 67 20 |ce, engi|neering |
|00002830| 64 65 63 69 64 65 64 20 | 74 6f 20 74 72 61 6e 73 |decided |to trans|
|00002840| 6c 61 74 65 20 61 6c 6c | 20 43 6f 6d 6d 61 6e 64 |late all| Command|
|00002850| 2d 6b 65 79 20 65 76 65 | 6e 74 73 20 74 6f 20 74 |-key eve|nts to t|
|00002860| 68 65 69 72 20 72 65 73 | 70 65 63 74 69 76 65 20 |heir res|pective |
|00002870| 63 64 65 76 20 65 71 75 | 69 76 61 6c 65 6e 74 73 |cdev equ|ivalents|
|00002880| 20 66 6f 72 20 74 68 6f | 73 65 20 73 65 71 75 65 | for tho|se seque|
|00002890| 6e 63 65 73 20 77 68 69 | 63 68 20 77 65 72 65 20 |nces whi|ch were |
|000028a0| 70 75 62 6c 69 73 68 65 | 64 20 69 6e 20 49 6e 73 |publishe|d in Ins|
|000028b0| 69 64 65 20 4d 61 63 69 | 6e 74 6f 73 68 20 56 6f |ide Maci|ntosh Vo|
|000028c0| 6c 75 6d 65 20 56 2e 20 | 54 68 69 73 20 6d 65 61 |lume V. |This mea|
|000028d0| 6e 73 20 74 68 61 74 20 | 69 6e 73 74 65 61 64 20 |ns that |instead |
|000028e0| 6f 66 20 68 61 76 69 6e | 67 20 74 6f 20 70 72 6f |of havin|g to pro|
|000028f0| 63 65 73 73 20 43 6f 6d | 6d 61 6e 64 2d 5a 2c 20 |cess Com|mand-Z, |
|00002900| 56 2c 20 43 2c 20 6f 72 | 20 58 2c 20 74 68 65 20 |V, C, or| X, the |
|00002910| 63 64 65 76 20 72 65 63 | 65 69 76 65 73 20 74 68 |cdev rec|eives th|
|00002920| 65 20 61 70 70 72 6f 70 | 72 69 61 74 65 20 75 6e |e approp|riate un|
|00002930| 64 6f 44 65 76 2c 20 70 | 61 73 74 65 44 65 76 2c |doDev, p|asteDev,|
|00002940| 20 63 6f 70 79 44 65 76 | 2c 20 6f 72 20 63 75 74 | copyDev|, or cut|
|00002950| 44 65 76 20 6d 65 73 73 | 61 67 65 2e 20 54 68 65 |Dev mess|age. The|
|00002960| 20 46 69 6e 64 65 72 20 | 6b 6e 6f 77 73 20 74 6f | Finder |knows to|
|00002970| 20 73 65 6e 64 20 74 68 | 65 73 65 20 6d 65 73 73 | send th|ese mess|
|00002980| 61 67 65 73 20 74 6f 20 | 74 68 65 20 63 64 65 76 |ages to |the cdev|
|00002990| 20 77 69 74 68 20 74 68 | 65 20 63 75 72 72 65 6e | with th|e curren|
|000029a0| 74 6c 79 20 61 63 74 69 | 76 65 20 77 69 6e 64 6f |tly acti|ve windo|
|000029b0| 77 2e 20 4f 74 68 65 72 | 77 69 73 65 2c 20 74 68 |w. Other|wise, th|
|000029c0| 65 20 46 69 6e 64 65 72 | 20 66 69 6c 74 65 72 73 |e Finder| filters|
|000029d0| 20 43 6f 6d 6d 61 6e 64 | 2d 6b 65 79 20 6d 65 73 | Command|-key mes|
|000029e0| 73 61 67 65 73 20 66 72 | 6f 6d 20 74 68 65 20 63 |sages fr|om the c|
|000029f0| 64 65 76 28 73 29 2e 0d | 59 6f 75 20 63 61 6e 20 |dev(s)..|You can |
|00002a00| 73 74 69 6c 6c 20 64 65 | 74 65 72 6d 69 6e 65 20 |still de|termine |
|00002a10| 77 68 65 74 68 65 72 20 | 74 68 65 20 63 6f 6d 6d |whether |the comm|
|00002a20| 61 6e 64 20 6b 65 79 20 | 69 73 20 68 65 6c 64 20 |and key |is held |
|00002a30| 64 6f 77 6e 20 62 79 20 | 75 73 69 6e 67 20 74 68 |down by |using th|
|00002a40| 65 20 47 65 74 4b 65 79 | 73 20 66 75 6e 63 74 69 |e GetKey|s functi|
|00002a50| 6f 6e 20 61 74 20 74 68 | 65 20 63 64 65 76 d5 73 |on at th|e cdev.s|
|00002a60| 20 65 6e 74 72 79 20 70 | 6f 69 6e 74 2c 20 61 73 | entry p|oint, as|
|00002a70| 20 73 68 6f 77 6e 20 69 | 6e 20 74 68 65 20 66 6f | shown i|n the fo|
|00002a80| 6c 6c 6f 77 69 6e 67 20 | 63 6f 64 65 20 73 61 6d |llowing |code sam|
|00002a90| 70 6c 65 3a 0d 70 61 73 | 63 61 6c 20 48 61 6e 64 |ple:.pas|cal Hand|
|00002aa0| 6c 65 0d 43 44 45 56 45 | 6e 74 72 79 28 73 68 6f |le.CDEVE|ntry(sho|
|00002ab0| 72 74 20 6d 65 73 73 61 | 67 65 2c 20 73 68 6f 72 |rt messa|ge, shor|
|00002ac0| 74 20 69 74 65 6d 2c 20 | 73 68 6f 72 74 20 6e 75 |t item, |short nu|
|00002ad0| 6d 49 74 65 6d 73 2c 20 | 73 68 6f 72 74 20 43 50 |mItems, |short CP|
|00002ae0| 61 6e 65 6c 49 44 2c 0d | 20 20 20 20 45 76 65 6e |anelID,.| Even|
|00002af0| 74 52 65 63 6f 72 64 20 | 2a 74 68 65 45 76 65 6e |tRecord |*theEven|
|00002b00| 74 2c 20 48 61 6e 64 6c | 65 20 63 64 65 76 56 61 |t, Handl|e cdevVa|
|00002b10| 6c 75 65 2c 20 44 69 61 | 6c 6f 67 50 74 72 20 43 |lue, Dia|logPtr C|
|00002b20| 50 44 69 61 6c 6f 67 29 | 0d 7b 0d 20 20 20 23 70 |PDialog)|.{. #p|
|00002b30| 72 61 67 6d 61 20 75 6e | 75 73 65 64 20 28 43 50 |ragma un|used (CP|
|00002b40| 61 6e 65 6c 49 44 29 20 | 20 20 2f 2a 20 75 6e 75 |anelID) | /* unu|
|00002b50| 73 65 64 20 66 6f 72 6d | 61 6c 20 70 61 72 61 6d |sed form|al param|
|00002b60| 65 74 65 72 73 20 2a 2f | 0d 20 20 20 4b 65 79 4d |eters */|. KeyM|
|00002b70| 61 70 20 20 6d 79 4b 65 | 79 73 3b 0d 20 20 20 43 |ap myKe|ys;. C|
|00002b80| 44 45 56 48 64 6c 20 63 | 64 65 76 53 74 6f 72 61 |DEVHdl c|devStora|
|00002b90| 67 65 3b 0d 20 2e 2e 2e | 0d 20 20 20 63 64 65 76 |ge;. ...|. cdev|
|00002ba0| 53 74 6f 72 61 67 65 20 | 3d 20 28 43 44 45 56 48 |Storage |= (CDEVH|
|00002bb0| 64 6c 29 20 63 64 65 76 | 56 61 6c 75 65 3b 0d 20 |dl) cdev|Value;. |
|00002bc0| 20 20 69 66 20 28 6d 65 | 73 73 61 67 65 20 3d 3d | if (me|ssage ==|
|00002bd0| 20 6d 61 63 44 65 76 29 | 20 7b 0d 20 20 20 72 65 | macDev)| {. re|
|00002be0| 74 75 72 6e 28 20 28 48 | 61 6e 64 6c 65 29 20 31 |turn( (H|andle) 1|
|00002bf0| 29 3b 20 2f 2a 20 20 72 | 75 6e 20 6f 6e 20 61 6c |); /* r|un on al|
|00002c00| 6c 20 73 79 73 74 65 6d | 73 20 2a 2f 0d 20 20 20 |l system|s */. |
|00002c10| 7d 0d 20 20 20 65 6c 73 | 65 20 69 66 20 28 63 64 |}. els|e if (cd|
|00002c20| 65 76 53 74 6f 72 61 67 | 65 20 21 3d 20 6e 69 6c |evStorag|e != nil|
|00002c30| 29 20 7b 0d 20 20 20 47 | 65 74 4b 65 79 73 28 6d |) {. G|etKeys(m|
|00002c40| 79 4b 65 79 73 29 3b 0d | 20 20 20 69 66 20 28 6d |yKeys);.| if (m|
|00002c50| 79 4b 65 79 73 5b 31 5d | 20 26 20 30 78 30 30 30 |yKeys[1]| & 0x000|
|00002c60| 30 38 30 30 30 29 0d 20 | 20 20 7b 0d 20 20 20 20 |08000). | {. |
|00002c70| 20 2f 2a 20 43 6f 6d 6d | 61 6e 64 20 6b 65 79 20 | /* Comm|and key |
|00002c80| 70 72 65 73 65 6e 74 6c | 79 20 64 6f 77 6e 20 2a |presentl|y down *|
|00002c90| 2f 0d 20 20 20 7d 0d 20 | 20 20 c9 0d 7d 0d 41 66 |/. }. | ..}.Af|
|00002ca0| 74 65 72 20 64 65 74 65 | 72 6d 69 6e 69 6e 67 20 |ter dete|rmining |
|00002cb0| 77 68 65 74 68 65 72 20 | 74 68 65 20 63 6f 6d 6d |whether |the comm|
|00002cc0| 61 6e 64 20 6b 65 79 20 | 69 73 20 68 65 6c 64 20 |and key |is held |
|00002cd0| 64 6f 77 6e 2c 20 79 6f | 75 20 6e 65 65 64 20 74 |down, yo|u need t|
|00002ce0| 6f 20 64 65 74 65 72 6d | 69 6e 65 20 74 68 65 20 |o determ|ine the |
|00002cf0| 63 6f 6d 70 6c 65 74 65 | 20 63 6f 6d 6d 61 6e 64 |complete| command|
|00002d00| 20 6b 65 79 20 73 65 71 | 75 65 6e 63 65 20 62 79 | key seq|uence by|
|00002d10| 20 63 68 65 63 6b 69 6e | 67 20 66 6f 72 20 6f 74 | checkin|g for ot|
|00002d20| 68 65 72 20 6b 65 79 73 | 20 63 75 72 72 65 6e 74 |her keys| current|
|00002d30| 6c 79 20 70 72 65 73 73 | 65 64 20 69 6e 20 74 68 |ly press|ed in th|
|00002d40| 65 20 4b 65 79 4d 61 70 | 20 76 61 72 69 61 62 6c |e KeyMap| variabl|
|00002d50| 65 2e 0d 54 68 69 73 20 | 73 6f 6c 75 74 69 6f 6e |e..This |solution|
|00002d60| 20 64 6f 65 73 6e d5 74 | 20 72 65 73 6f 6c 76 65 | doesn.t| resolve|
|00002d70| 20 70 72 6f 62 6c 65 6d | 73 20 73 75 63 68 20 61 | problem|s such a|
|00002d80| 73 20 72 65 73 70 6f 6e | 64 69 6e 67 20 74 6f 20 |s respon|ding to |
|00002d90| 43 6f 6d 6d 61 6e 64 2d | 46 20 6f 72 20 43 6f 6d |Command-|F or Com|
|00002da0| 6d 61 6e 64 2d 47 2e 20 | 41 6c 73 6f 2c 20 69 74 |mand-G. |Also, it|
|00002db0| 27 73 20 6e 6f 74 20 63 | 6c 65 61 72 20 77 68 61 |'s not c|lear wha|
|00002dc0| 74 20 6e 65 77 20 6b 65 | 79 73 20 6d 69 67 68 74 |t new ke|ys might|
|00002dd0| 20 62 65 20 67 72 61 62 | 62 65 64 20 62 79 20 74 | be grab|bed by t|
|00002de0| 68 65 20 46 69 6e 64 65 | 72 20 74 65 61 6d 20 66 |he Finde|r team f|
|00002df0| 6f 72 20 75 73 65 20 69 | 6e 20 66 75 74 75 72 65 |or use i|n future|
|00002e00| 20 73 79 73 74 65 6d 20 | 76 65 72 73 69 6f 6e 73 | system |versions|
|00002e10| 2e 0d 27 66 77 73 74 27 | 20 69 73 20 77 69 6e 64 |..'fwst'| is wind|
|00002e20| 6f 77 2d 70 6f 73 69 74 | 69 6f 6e 20 72 65 73 6f |ow-posit|ion reso|
|00002e30| 75 72 63 65 20 66 6f 72 | 20 63 64 65 76 73 0d 57 |urce for| cdevs.W|
|00002e40| 72 69 74 74 65 6e 3a 09 | 38 2f 32 35 2f 39 31 0d |ritten:.|8/25/91.|
|00002e50| 4c 61 73 74 20 72 65 76 | 69 65 77 65 64 3a 09 39 |Last rev|iewed:.9|
|00002e60| 2f 32 34 2f 39 31 0d 57 | 68 61 74 d5 73 20 74 68 |/24/91.W|hat.s th|
|00002e70| 65 20 27 66 77 73 74 27 | 20 72 65 73 6f 75 72 63 |e 'fwst'| resourc|
|00002e80| 65 20 66 6f 75 6e 64 20 | 69 6e 20 73 65 76 65 72 |e found |in sever|
|00002e90| 61 6c 20 53 79 73 74 65 | 6d 20 37 20 63 64 65 76 |al Syste|m 7 cdev|
|00002ea0| 73 20 61 73 20 77 65 6c | 6c 20 61 73 20 6f 6e 20 |s as wel|l as on |
|00002eb0| 74 68 65 20 53 79 73 74 | 65 6d 20 37 20 47 6f 6c |the Syst|em 7 Gol|
|00002ec0| 64 65 6e 20 4d 61 73 74 | 65 72 20 43 44 3f 20 57 |den Mast|er CD? W|
|00002ed0| 65 20 77 61 6e 74 20 74 | 6f 20 6d 61 6b 65 20 73 |e want t|o make s|
|00002ee0| 75 72 65 20 69 74 d5 73 | 20 6e 6f 74 20 61 20 76 |ure it.s| not a v|
|00002ef0| 69 72 75 73 2e 0d 5f 5f | 5f 0d 54 68 65 20 d4 66 |irus..__|_.The .f|
|00002f00| 77 73 74 d5 20 72 65 73 | 6f 75 72 63 65 20 69 73 |wst. res|ource is|
|00002f10| 20 74 68 65 20 77 69 6e | 64 6f 77 20 70 6f 73 69 | the win|dow posi|
|00002f20| 74 69 6f 6e 20 72 65 73 | 6f 75 72 63 65 20 66 6f |tion res|ource fo|
|00002f30| 72 20 63 64 65 76 73 2e | 20 55 6e 64 65 72 20 53 |r cdevs.| Under S|
|00002f40| 79 73 74 65 6d 20 37 2e | 30 2c 20 65 61 63 68 20 |ystem 7.|0, each |
|00002f50| 63 64 65 76 20 6e 6f 77 | 20 61 70 70 65 61 72 73 |cdev now| appears|
|00002f60| 20 69 6e 20 69 74 73 20 | 6f 77 6e 20 77 69 6e 64 | in its |own wind|
|00002f70| 6f 77 2e 20 54 68 69 73 | 20 69 73 20 75 6e 6c 69 |ow. This| is unli|
|00002f80| 6b 65 20 70 72 65 76 69 | 6f 75 73 20 73 79 73 74 |ke previ|ous syst|
|00002f90| 65 6d 73 20 77 68 65 72 | 65 20 74 68 65 79 20 61 |ems wher|e they a|
|00002fa0| 70 70 65 61 72 65 64 20 | 69 6e 20 74 68 65 20 43 |ppeared |in the C|
|00002fb0| 6f 6e 74 72 6f 6c 20 50 | 61 6e 65 6c 20 77 69 6e |ontrol P|anel win|
|00002fc0| 64 6f 77 2e 20 57 65 6c | 6c 2c 20 73 69 6e 63 65 |dow. Wel|l, since|
|00002fd0| 20 65 61 63 68 20 63 64 | 65 76 20 6e 6f 77 20 68 | each cd|ev now h|
|00002fe0| 61 73 20 69 74 73 20 6f | 77 6e 20 77 69 6e 64 6f |as its o|wn windo|
|00002ff0| 77 2c 20 69 74 20 69 73 | 20 65 78 70 65 63 74 65 |w, it is| expecte|
|00003000| 64 20 74 68 61 74 20 74 | 68 65 20 75 73 65 72 20 |d that t|he user |
|00003010| 77 69 6c 6c 20 77 61 6e | 74 20 74 6f 20 70 6c 61 |will wan|t to pla|
|00003020| 63 65 20 74 68 65 20 77 | 69 6e 64 6f 77 20 69 6e |ce the w|indow in|
|00003030| 20 61 20 6c 6f 63 61 74 | 69 6f 6e 20 74 68 61 74 | a locat|ion that|
|00003040| 20 69 73 20 73 75 69 74 | 65 64 20 74 6f 20 74 68 | is suit|ed to th|
|00003050| 65 20 75 73 65 72 20 61 | 6e 64 20 74 68 65 20 63 |e user a|nd the c|
|00003060| 64 65 76 2e 20 54 6f 20 | 6b 65 65 70 20 74 68 69 |dev. To |keep thi|
|00003070| 73 20 69 6e 66 6f 72 6d | 61 74 69 6f 6e 20 66 6f |s inform|ation fo|
|00003080| 72 20 74 68 65 20 6e 65 | 78 74 20 74 69 6d 65 20 |r the ne|xt time |
|00003090| 74 68 65 20 63 64 65 76 | 20 69 73 20 63 61 6c 6c |the cdev| is call|
|000030a0| 65 64 20 75 70 2c 20 74 | 68 65 20 46 69 6e 64 65 |ed up, t|he Finde|
|000030b0| 72 20 6e 6f 77 20 6b 65 | 65 70 73 20 61 6e 20 d4 |r now ke|eps an .|
|000030c0| 66 77 73 74 d5 20 72 65 | 73 6f 75 72 63 65 20 69 |fwst. re|source i|
|000030d0| 6e 20 74 68 65 20 63 64 | 65 76 2c 20 77 68 65 74 |n the cd|ev, whet|
|000030e0| 68 65 72 20 6f 72 20 6e | 6f 74 20 79 6f 75 20 70 |her or n|ot you p|
|000030f0| 6c 61 63 65 64 20 6f 6e | 65 20 69 6e 20 74 68 65 |laced on|e in the|
|00003100| 72 65 20 79 6f 75 72 73 | 65 6c 66 2e 0d 37 2e 30 |re yours|elf..7.0|
|00003110| 20 46 69 6e 64 65 72 20 | 69 6e 74 65 72 63 65 70 | Finder |intercep|
|00003120| 74 73 20 43 6f 6e 74 72 | 6f 6c 20 50 61 6e 65 6c |ts Contr|ol Panel|
|00003130| 20 63 6f 6d 6d 61 6e 64 | 20 6b 65 79 20 6d 65 6e | command| key men|
|00003140| 75 20 65 76 65 6e 74 73 | 0d 57 72 69 74 74 65 6e |u events|.Written|
|00003150| 3a 09 33 2f 31 34 2f 39 | 31 0d 4c 61 73 74 20 72 |:.3/14/9|1.Last r|
|00003160| 65 76 69 65 77 65 64 3a | 09 36 2f 31 37 2f 39 31 |eviewed:|.6/17/91|
|00003170| 0d 55 6e 64 65 72 20 53 | 79 73 74 65 6d 20 37 2c |.Under S|ystem 7,|
|00003180| 20 4d 61 63 69 6e 74 6f | 73 68 20 63 6f 6d 6d 61 | Macinto|sh comma|
|00003190| 6e 64 20 6b 65 79 20 6d | 65 6e 75 20 65 76 65 6e |nd key m|enu even|
|000031a0| 74 73 20 6e 6f 20 6c 6f | 6e 67 65 72 20 61 72 65 |ts no lo|nger are|
|000031b0| 20 70 61 73 73 65 64 20 | 74 6f 20 61 20 43 6f 6e | passed |to a Con|
|000031c0| 74 72 6f 6c 20 50 61 6e | 65 6c d5 73 20 6d 61 69 |trol Pan|el.s mai|
|000031d0| 6e 20 77 69 6e 64 6f 77 | 20 61 6e 64 20 69 6e 73 |n window| and ins|
|000031e0| 74 65 61 64 20 69 6e 74 | 65 72 63 65 70 74 65 64 |tead int|ercepted|
|000031f0| 20 61 73 20 46 69 6e 64 | 65 72 20 63 6f 6d 6d 61 | as Find|er comma|
|00003200| 6e 64 20 6b 65 79 20 6d | 65 6e 75 20 65 71 75 69 |nd key m|enu equi|
|00003210| 76 61 6c 65 6e 74 73 2e | 20 43 61 6e 20 49 20 67 |valents.| Can I g|
|00003220| 65 74 20 61 72 6f 75 6e | 64 20 74 68 69 73 3f 0d |et aroun|d this?.|
|00003230| 5f 5f 5f 0d 55 6e 64 65 | 72 20 53 79 73 74 65 6d |___.Unde|r System|
|00003240| 20 37 2c 20 61 6c 6c 20 | 63 6f 6d 6d 61 6e 64 2d | 7, all |command-|
|00003250| 6b 65 79 20 65 71 75 69 | 76 61 6c 65 6e 74 73 20 |key equi|valents |
|00003260| 72 65 66 65 72 20 74 6f | 20 74 68 65 20 6d 65 6e |refer to| the men|
|00003270| 75 20 62 61 72 2e 20 54 | 68 65 20 70 72 6f 62 6c |u bar. T|he probl|
|00003280| 65 6d 20 6c 69 65 73 20 | 69 6e 20 74 68 65 20 66 |em lies |in the f|
|00003290| 61 63 74 20 74 68 61 74 | 2c 20 69 66 20 74 68 65 |act that|, if the|
|000032a0| 20 43 6f 6e 74 72 6f 6c | 20 50 61 6e 65 6c 20 68 | Control| Panel h|
|000032b0| 61 6e 64 6c 65 73 20 61 | 20 63 6f 6d 6d 61 6e 64 |andles a| command|
|000032c0| 2d 6b 65 79 73 74 72 6f | 6b 65 2c 20 74 68 65 72 |-keystro|ke, ther|
|000032d0| 65 20 69 73 20 6e 6f 20 | 77 61 79 20 66 6f 72 20 |e is no |way for |
|000032e0| 74 68 65 20 46 69 6e 64 | 65 72 20 74 6f 20 72 65 |the Find|er to re|
|000032f0| 61 6c 69 7a 65 20 69 74 | 2e 20 41 6c 74 68 6f 75 |alize it|. Althou|
|00003300| 67 68 20 69 74 d5 73 20 | 6e 6f 74 20 72 65 61 6c |gh it.s |not real|
|00003310| 6c 79 20 72 65 63 6f 6d | 6d 65 6e 64 65 64 2c 20 |ly recom|mended, |
|00003320| 79 6f 75 20 63 6f 75 6c | 64 20 63 6f 6e 63 65 69 |you coul|d concei|
|00003330| 76 61 62 6c 79 20 70 61 | 74 63 68 20 4b 65 79 54 |vably pa|tch KeyT|
|00003340| 72 61 6e 73 20 61 6e 64 | 2c 20 75 70 6f 6e 20 66 |rans and|, upon f|
|00003350| 69 6e 64 69 6e 67 20 74 | 68 61 74 20 79 6f 75 72 |inding t|hat your|
|00003360| 20 43 6f 6e 74 72 6f 6c | 20 50 61 6e 65 6c 20 69 | Control| Panel i|
|00003370| 73 20 75 70 20 61 6e 64 | 20 74 68 61 74 20 61 20 |s up and| that a |
|00003380| 63 6f 6d 6d 61 6e 64 2d | 6b 65 79 73 74 72 6f 6b |command-|keystrok|
|00003390| 65 20 69 73 20 62 65 69 | 6e 67 20 70 72 65 73 73 |e is bei|ng press|
|000033a0| 65 64 2c 20 71 75 65 75 | 65 20 74 68 6f 73 65 20 |ed, queu|e those |
|000033b0| 69 6e 20 79 6f 75 72 20 | 6f 77 6e 20 70 72 69 76 |in your |own priv|
|000033c0| 61 74 65 20 71 75 65 75 | 65 20 74 68 61 74 20 74 |ate queu|e that t|
|000033d0| 68 65 20 43 6f 6e 74 72 | 6f 6c 20 50 61 6e 65 6c |he Contr|ol Panel|
|000033e0| 20 63 6f 75 6c 64 20 74 | 68 65 6e 20 73 65 61 72 | could t|hen sear|
|000033f0| 63 68 20 69 6e 20 61 64 | 64 69 74 69 6f 6e 20 74 |ch in ad|dition t|
|00003400| 6f 20 74 68 65 20 6e 6f | 72 6d 61 6c 20 65 76 65 |o the no|rmal eve|
|00003410| 6e 74 20 71 75 65 75 65 | 2e 20 54 68 69 73 20 69 |nt queue|. This i|
|00003420| 73 20 70 72 6f 62 61 62 | 6c 79 20 6d 75 63 68 20 |s probab|ly much |
|00003430| 6d 6f 72 65 20 74 72 6f | 75 62 6c 65 20 74 68 61 |more tro|uble tha|
|00003440| 6e 20 69 74 20 69 73 20 | 77 6f 72 74 68 2e 0d 44 |n it is |worth..D|
|00003450| 65 73 6b 74 6f 70 20 4d | 61 6e 61 67 65 72 20 51 |esktop M|anager Q|
|00003460| 26 41 73 0d 54 6f 6f 6c | 62 6f 78 09 4d 2e 54 42 |&As.Tool|box.M.TB|
|00003470| 2e 44 65 73 6b 74 6f 70 | 4d 67 72 2e 51 26 41 73 |.Desktop|Mgr.Q&As|
|00003480| 0d 52 65 76 69 73 65 64 | 20 62 79 3a 09 44 65 76 |.Revised| by:.Dev|
|00003490| 65 6c 6f 70 65 72 20 53 | 75 70 70 6f 72 74 20 43 |eloper S|upport C|
|000034a0| 65 6e 74 65 72 09 4f 63 | 74 6f 62 65 72 20 31 39 |enter.Oc|tober 19|
|000034b0| 39 32 0d 57 72 69 74 74 | 65 6e 20 62 79 3a 09 44 |92.Writt|en by:.D|
|000034c0| 65 76 65 6c 6f 70 65 72 | 20 53 75 70 70 6f 72 74 |eveloper| Support|
|000034d0| 20 43 65 6e 74 65 72 09 | 4f 63 74 6f 62 65 72 20 | Center.|October |
|000034e0| 31 39 39 30 0d 54 68 69 | 73 20 54 65 63 68 6e 69 |1990.Thi|s Techni|
|000034f0| 63 61 6c 20 4e 6f 74 65 | 20 63 6f 6e 74 61 69 6e |cal Note| contain|
|00003500| 73 20 61 20 63 6f 6c 6c | 65 63 74 69 6f 6e 20 6f |s a coll|ection o|
|00003510| 66 20 51 26 41 73 20 72 | 65 6c 61 74 69 6e 67 20 |f Q&As r|elating |
|00003520| 74 6f 20 61 20 73 70 65 | 63 69 66 69 63 20 74 6f |to a spe|cific to|
|00003530| 70 69 63 d1 71 75 65 73 | 74 69 6f 6e 73 20 79 6f |pic.ques|tions yo|
|00003540| 75 d5 76 65 20 73 65 6e | 74 20 74 68 65 20 44 65 |u.ve sen|t the De|
|00003550| 76 65 6c 6f 70 65 72 20 | 53 75 70 70 6f 72 74 20 |veloper |Support |
|00003560| 43 65 6e 74 65 72 20 28 | 44 53 43 29 20 61 6c 6f |Center (|DSC) alo|
|00003570| 6e 67 20 77 69 74 68 20 | 61 6e 73 77 65 72 73 20 |ng with |answers |
|00003580| 66 72 6f 6d 20 74 68 65 | 20 44 53 43 20 65 6e 67 |from the| DSC eng|
|00003590| 69 6e 65 65 72 73 2e 20 | 57 68 69 6c 65 20 44 53 |ineers. |While DS|
|000035a0| 43 20 65 6e 67 69 6e 65 | 65 72 73 20 68 61 76 65 |C engine|ers have|
|000035b0| 20 63 68 65 63 6b 65 64 | 20 74 68 65 20 51 26 41 | checked| the Q&A|
|000035c0| 20 63 6f 6e 74 65 6e 74 | 20 66 6f 72 20 61 63 63 | content| for acc|
|000035d0| 75 72 61 63 79 2c 20 74 | 68 65 20 51 26 41 20 54 |uracy, t|he Q&A T|
|000035e0| 65 63 68 6e 69 63 61 6c | 20 4e 6f 74 65 73 20 64 |echnical| Notes d|
|000035f0| 6f 6e d5 74 20 68 61 76 | 65 20 74 68 65 20 65 64 |on.t hav|e the ed|
|00003600| 69 74 69 6e 67 20 61 6e | 64 20 6f 72 67 61 6e 69 |iting an|d organi|
|00003610| 7a 61 74 69 6f 6e 20 6f | 66 20 6f 74 68 65 72 20 |zation o|f other |
|00003620| 54 65 63 68 6e 69 63 61 | 6c 20 4e 6f 74 65 73 2e |Technica|l Notes.|
|00003630| 20 54 68 65 20 51 26 41 | 20 66 75 6e 63 74 69 6f | The Q&A| functio|
|00003640| 6e 20 69 73 20 74 6f 20 | 67 65 74 20 6e 65 77 20 |n is to |get new |
|00003650| 74 65 63 68 6e 69 63 61 | 6c 20 69 6e 66 6f 72 6d |technica|l inform|
|00003660| 61 74 69 6f 6e 20 61 6e | 64 20 75 70 64 61 74 65 |ation an|d update|
|00003670| 73 20 74 6f 20 79 6f 75 | 20 71 75 69 63 6b 6c 79 |s to you| quickly|
|00003680| 2c 20 73 61 76 69 6e 67 | 20 74 68 65 20 70 6f 6c |, saving| the pol|
|00003690| 69 73 68 20 66 6f 72 20 | 77 68 65 6e 20 74 68 65 |ish for |when the|
|000036a0| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 20 6d 69 67 | informa|tion mig|
|000036b0| 72 61 74 65 73 20 69 6e | 74 6f 20 72 65 66 65 72 |rates in|to refer|
|000036c0| 65 6e 63 65 20 6d 61 6e | 75 61 6c 73 2e 0d 51 26 |ence man|uals..Q&|
|000036d0| 41 73 20 61 72 65 20 6e | 6f 77 20 69 6e 63 6c 75 |As are n|ow inclu|
|000036e0| 64 65 64 20 77 69 74 68 | 20 54 65 63 68 6e 69 63 |ded with| Technic|
|000036f0| 61 6c 20 4e 6f 74 65 73 | 20 74 6f 20 6d 61 6b 65 |al Notes| to make|
|00003700| 20 61 63 63 65 73 73 20 | 74 6f 20 74 65 63 68 6e | access |to techn|
|00003710| 69 63 61 6c 20 75 70 64 | 61 74 65 73 20 65 61 73 |ical upd|ates eas|
|00003720| 69 65 72 20 66 6f 72 20 | 79 6f 75 2e 20 49 66 20 |ier for |you. If |
|00003730| 79 6f 75 20 68 61 76 65 | 20 63 6f 6d 6d 65 6e 74 |you have| comment|
|00003740| 73 20 6f 72 20 73 75 67 | 67 65 73 74 69 6f 6e 73 |s or sug|gestions|
|00003750| 20 61 62 6f 75 74 20 51 | 26 41 20 63 6f 6e 74 65 | about Q|&A conte|
|00003760| 6e 74 20 6f 72 20 64 69 | 73 74 72 69 62 75 74 69 |nt or di|stributi|
|00003770| 6f 6e 2c 20 70 6c 65 61 | 73 65 20 6c 65 74 20 75 |on, plea|se let u|
|00003780| 73 20 6b 6e 6f 77 20 62 | 79 20 73 65 6e 64 69 6e |s know b|y sendin|
|00003790| 67 20 61 6e 20 41 70 70 | 6c 65 4c 69 6e 6b 20 74 |g an App|leLink t|
|000037a0| 6f 20 44 45 56 46 45 45 | 44 42 41 43 4b 2e 20 41 |o DEVFEE|DBACK. A|
|000037b0| 70 70 6c 65 20 50 61 72 | 74 6e 65 72 73 20 6d 61 |pple Par|tners ma|
|000037c0| 79 20 73 65 6e 64 20 74 | 65 63 68 6e 69 63 61 6c |y send t|echnical|
|000037d0| 20 71 75 65 73 74 69 6f | 6e 73 20 61 62 6f 75 74 | questio|ns about|
|000037e0| 20 51 26 41 20 63 6f 6e | 74 65 6e 74 20 74 6f 20 | Q&A con|tent to |
|000037f0| 44 45 56 53 55 50 50 4f | 52 54 20 66 6f 72 20 72 |DEVSUPPO|RT for r|
|00003800| 65 73 6f 6c 75 74 69 6f | 6e 2e 0d 4e 65 77 20 51 |esolutio|n..New Q|
|00003810| 26 41 73 20 61 6e 64 20 | 51 26 41 73 20 72 65 76 |&As and |Q&As rev|
|00003820| 69 73 65 64 20 74 68 69 | 73 20 6d 6f 6e 74 68 20 |ised thi|s month |
|00003830| 61 72 65 20 6d 61 72 6b | 65 64 20 77 69 74 68 20 |are mark|ed with |
|00003840| 61 20 62 61 72 20 69 6e | 20 74 68 65 20 73 69 64 |a bar in| the sid|
|00003850| 65 20 6d 61 72 67 69 6e | 2e 0d 53 79 73 74 65 6d |e margin|..System|
|00003860| 20 36 20 76 65 72 73 75 | 73 20 53 79 73 74 65 6d | 6 versu|s System|
|00003870| 20 37 20 44 65 73 6b 74 | 6f 70 20 4d 61 6e 61 67 | 7 Deskt|op Manag|
|00003880| 65 72 0d 57 72 69 74 74 | 65 6e 3a 09 38 2f 33 30 |er.Writt|en:.8/30|
|00003890| 2f 39 31 0d 4c 61 73 74 | 20 72 65 76 69 65 77 65 |/91.Last| reviewe|
|000038a0| 64 3a 09 38 2f 31 2f 39 | 32 0d 49 66 20 74 68 65 |d:.8/1/9|2.If the|
|000038b0| 20 44 65 73 6b 74 6f 70 | 20 4d 61 6e 61 67 65 72 | Desktop| Manager|
|000038c0| 20 28 74 68 65 20 76 65 | 72 73 69 6f 6e 20 74 68 | (the ve|rsion th|
|000038d0| 61 74 20 63 6f 6d 65 73 | 20 77 69 74 68 20 41 70 |at comes| with Ap|
|000038e0| 70 6c 65 53 68 61 72 65 | 29 20 69 73 20 69 6e 73 |pleShare|) is ins|
|000038f0| 74 61 6c 6c 65 64 20 75 | 6e 64 65 72 20 53 79 73 |talled u|nder Sys|
|00003900| 74 65 6d 20 36 2e 30 2e | 78 2c 20 69 73 20 69 74 |tem 6.0.|x, is it|
|00003910| 20 62 61 63 6b 77 61 72 | 64 2d 63 6f 6d 70 61 74 | backwar|d-compat|
|00003920| 69 62 6c 65 20 74 68 61 | 74 20 6f 66 20 53 79 73 |ible tha|t of Sys|
|00003930| 74 65 6d 20 37 2e 30 3f | 0d 5f 5f 5f 0d 54 68 65 |tem 7.0?|.___.The|
|00003940| 20 44 65 73 6b 74 6f 70 | 20 4d 61 6e 61 67 65 72 | Desktop| Manager|
|00003950| 20 69 6e 20 53 79 73 74 | 65 6d 20 37 20 69 73 20 | in Syst|em 7 is |
|00003960| 63 6f 6d 70 6c 65 74 65 | 6c 79 20 62 61 63 6b 77 |complete|ly backw|
|00003970| 61 72 64 2d 63 6f 6d 70 | 61 74 69 62 6c 65 20 77 |ard-comp|atible w|
|00003980| 69 74 68 20 74 68 61 74 | 20 6f 66 20 53 79 73 74 |ith that| of Syst|
|00003990| 65 6d 20 36 2e 30 2e 78 | 2e 20 54 68 65 20 53 79 |em 6.0.x|. The Sy|
|000039a0| 73 74 65 6d 20 37 20 76 | 65 72 73 69 6f 6e 20 68 |stem 7 v|ersion h|
|000039b0| 61 73 20 62 65 65 6e 20 | 68 69 67 68 6c 79 20 6f |as been |highly o|
|000039c0| 70 74 69 6d 69 7a 65 64 | 2c 20 61 6e 64 20 69 73 |ptimized|, and is|
|000039d0| 20 6d 6f 72 65 20 72 6f | 62 75 73 74 20 74 68 61 | more ro|bust tha|
|000039e0| 6e 20 74 68 65 20 6f 72 | 69 67 69 6e 61 6c 2e 0d |n the or|iginal..|
|000039f0| 44 65 74 65 72 6d 69 6e | 69 6e 67 20 69 66 20 4d |Determin|ing if M|
|00003a00| 61 63 69 6e 74 6f 73 68 | 20 44 65 73 6b 74 6f 70 |acintosh| Desktop|
|00003a10| 20 4d 61 6e 61 67 65 72 | 20 69 73 20 70 72 65 73 | Manager| is pres|
|00003a20| 65 6e 74 0d 57 72 69 74 | 74 65 6e 3a 09 33 2f 37 |ent.Writ|ten:.3/7|
|00003a30| 2f 39 31 0d 4c 61 73 74 | 20 72 65 76 69 65 77 65 |/91.Last| reviewe|
|00003a40| 64 3a 09 38 2f 31 2f 39 | 32 0d 48 6f 77 20 64 6f |d:.8/1/9|2.How do|
|00003a50| 65 73 20 6f 6e 65 20 64 | 65 74 65 72 6d 69 6e 65 |es one d|etermine|
|00003a60| 20 69 66 20 74 68 65 20 | 4d 61 63 69 6e 74 6f 73 | if the |Macintos|
|00003a70| 68 20 44 65 73 6b 74 6f | 70 20 4d 61 6e 61 67 65 |h Deskto|p Manage|
|00003a80| 72 20 69 73 20 61 76 61 | 69 6c 61 62 6c 65 3f 20 |r is ava|ilable? |
|00003a90| 49 20 6b 6e 6f 77 20 75 | 6e 64 65 72 20 53 79 73 |I know u|nder Sys|
|00003aa0| 74 65 6d 20 37 2e 30 20 | 69 74 d5 73 20 61 6c 77 |tem 7.0 |it.s alw|
|00003ab0| 61 79 73 20 61 76 61 69 | 6c 61 62 6c 65 2c 20 62 |ays avai|lable, b|
|00003ac0| 75 74 20 68 6f 77 20 61 | 62 6f 75 74 20 75 6e 64 |ut how a|bout und|
|00003ad0| 65 72 20 36 2e 30 3f 0d | 5f 5f 5f 0d 54 68 65 20 |er 6.0?.|___.The |
|00003ae0| 62 65 73 74 20 6d 65 74 | 68 6f 64 20 66 6f 72 20 |best met|hod for |
|00003af0| 64 65 74 65 72 6d 69 6e | 69 6e 67 20 77 68 65 74 |determin|ing whet|
|00003b00| 68 65 72 20 74 68 65 20 | 44 65 73 6b 74 6f 70 20 |her the |Desktop |
|00003b10| 4d 61 6e 61 67 65 72 20 | 69 73 20 61 76 61 69 6c |Manager |is avail|
|00003b20| 61 62 6c 65 20 6f 72 20 | 6e 6f 74 20 69 73 20 74 |able or |not is t|
|00003b30| 6f 20 75 73 65 20 50 42 | 47 65 74 56 6f 6c 50 61 |o use PB|GetVolPa|
|00003b40| 72 6d 73 20 6f 6e 20 79 | 6f 75 72 20 62 6f 6f 74 |rms on y|our boot|
|00003b50| 20 76 6f 6c 75 6d 65 20 | 61 6e 64 20 63 68 65 63 | volume |and chec|
|00003b60| 6b 20 62 69 74 20 31 32 | 20 6f 66 20 74 68 65 20 |k bit 12| of the |
|00003b70| 76 4d 41 74 74 72 69 62 | 20 66 69 65 6c 64 2e 20 |vMAttrib| field. |
|00003b80| 53 65 65 20 70 61 67 65 | 20 32 35 2d 33 37 20 6f |See page| 25-37 o|
|00003b90| 66 20 49 6e 73 69 64 65 | 20 4d 61 63 69 6e 74 6f |f Inside| Macinto|
|00003ba0| 73 68 20 56 6f 6c 75 6d | 65 20 56 49 20 66 6f 72 |sh Volum|e VI for|
|00003bb0| 20 61 64 64 69 74 69 6f | 6e 61 6c 20 69 6e 66 6f | additio|nal info|
|00003bc0| 72 6d 61 74 69 6f 6e 20 | 6f 6e 20 50 42 47 65 74 |rmation |on PBGet|
|00003bd0| 56 6f 6c 50 61 72 61 6d | 73 2e 0d 44 69 61 6c 6f |VolParam|s..Dialo|
|00003be0| 67 20 4d 61 6e 61 67 65 | 72 20 51 26 41 73 0d 54 |g Manage|r Q&As.T|
|00003bf0| 6f 6f 6c 62 6f 78 09 4d | 2e 54 42 2e 44 69 61 6c |oolbox.M|.TB.Dial|
|00003c00| 6f 67 4d 67 72 2e 51 26 | 41 73 0d 52 65 76 69 73 |ogMgr.Q&|As.Revis|
|00003c10| 65 64 20 62 79 3a 09 44 | 65 76 65 6c 6f 70 65 72 |ed by:.D|eveloper|
|00003c20| 20 53 75 70 70 6f 72 74 | 20 43 65 6e 74 65 72 09 | Support| Center.|
|00003c30| 4f 63 74 6f 62 65 72 20 | 31 39 39 32 0d 57 72 69 |October |1992.Wri|
|00003c40| 74 74 65 6e 20 62 79 3a | 09 44 65 76 65 6c 6f 70 |tten by:|.Develop|
|00003c50| 65 72 20 53 75 70 70 6f | 72 74 20 43 65 6e 74 65 |er Suppo|rt Cente|
|00003c60| 72 09 4f 63 74 6f 62 65 | 72 20 31 39 39 30 0d 54 |r.Octobe|r 1990.T|
|00003c70| 68 69 73 20 54 65 63 68 | 6e 69 63 61 6c 20 4e 6f |his Tech|nical No|
|00003c80| 74 65 20 63 6f 6e 74 61 | 69 6e 73 20 61 20 63 6f |te conta|ins a co|
|00003c90| 6c 6c 65 63 74 69 6f 6e | 20 6f 66 20 51 26 41 73 |llection| of Q&As|
|00003ca0| 20 72 65 6c 61 74 69 6e | 67 20 74 6f 20 61 20 73 | relatin|g to a s|
|00003cb0| 70 65 63 69 66 69 63 20 | 74 6f 70 69 63 d1 71 75 |pecific |topic.qu|
|00003cc0| 65 73 74 69 6f 6e 73 20 | 79 6f 75 d5 76 65 20 73 |estions |you.ve s|
|00003cd0| 65 6e 74 20 74 68 65 20 | 44 65 76 65 6c 6f 70 65 |ent the |Develope|
|00003ce0| 72 20 53 75 70 70 6f 72 | 74 20 43 65 6e 74 65 72 |r Suppor|t Center|
|00003cf0| 20 28 44 53 43 29 20 61 | 6c 6f 6e 67 20 77 69 74 | (DSC) a|long wit|
|00003d00| 68 20 61 6e 73 77 65 72 | 73 20 66 72 6f 6d 20 74 |h answer|s from t|
|00003d10| 68 65 20 44 53 43 20 65 | 6e 67 69 6e 65 65 72 73 |he DSC e|ngineers|
|00003d20| 2e 20 57 68 69 6c 65 20 | 44 53 43 20 65 6e 67 69 |. While |DSC engi|
|00003d30| 6e 65 65 72 73 20 68 61 | 76 65 20 63 68 65 63 6b |neers ha|ve check|
|00003d40| 65 64 20 74 68 65 20 51 | 26 41 20 63 6f 6e 74 65 |ed the Q|&A conte|
|00003d50| 6e 74 20 66 6f 72 20 61 | 63 63 75 72 61 63 79 2c |nt for a|ccuracy,|
|00003d60| 20 74 68 65 20 51 26 41 | 20 54 65 63 68 6e 69 63 | the Q&A| Technic|
|00003d70| 61 6c 20 4e 6f 74 65 73 | 20 64 6f 6e d5 74 20 68 |al Notes| don.t h|
|00003d80| 61 76 65 20 74 68 65 20 | 65 64 69 74 69 6e 67 20 |ave the |editing |
|00003d90| 61 6e 64 20 6f 72 67 61 | 6e 69 7a 61 74 69 6f 6e |and orga|nization|
|00003da0| 20 6f 66 20 6f 74 68 65 | 72 20 54 65 63 68 6e 69 | of othe|r Techni|
|00003db0| 63 61 6c 20 4e 6f 74 65 | 73 2e 20 54 68 65 20 51 |cal Note|s. The Q|
|00003dc0| 26 41 20 66 75 6e 63 74 | 69 6f 6e 20 69 73 20 74 |&A funct|ion is t|
|00003dd0| 6f 20 67 65 74 20 6e 65 | 77 20 74 65 63 68 6e 69 |o get ne|w techni|
|00003de0| 63 61 6c 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 20 |cal info|rmation |
|00003df0| 61 6e 64 20 75 70 64 61 | 74 65 73 20 74 6f 20 79 |and upda|tes to y|
|00003e00| 6f 75 20 71 75 69 63 6b | 6c 79 2c 20 73 61 76 69 |ou quick|ly, savi|
|00003e10| 6e 67 20 74 68 65 20 70 | 6f 6c 69 73 68 20 66 6f |ng the p|olish fo|
|00003e20| 72 20 77 68 65 6e 20 74 | 68 65 20 69 6e 66 6f 72 |r when t|he infor|
|00003e30| 6d 61 74 69 6f 6e 20 6d | 69 67 72 61 74 65 73 20 |mation m|igrates |
|00003e40| 69 6e 74 6f 20 72 65 66 | 65 72 65 6e 63 65 20 6d |into ref|erence m|
|00003e50| 61 6e 75 61 6c 73 2e 0d | 51 26 41 73 20 61 72 65 |anuals..|Q&As are|
|00003e60| 20 6e 6f 77 20 69 6e 63 | 6c 75 64 65 64 20 77 69 | now inc|luded wi|
|00003e70| 74 68 20 54 65 63 68 6e | 69 63 61 6c 20 4e 6f 74 |th Techn|ical Not|
|00003e80| 65 73 20 74 6f 20 6d 61 | 6b 65 20 61 63 63 65 73 |es to ma|ke acces|
|00003e90| 73 20 74 6f 20 74 65 63 | 68 6e 69 63 61 6c 20 75 |s to tec|hnical u|
|00003ea0| 70 64 61 74 65 73 20 65 | 61 73 69 65 72 20 66 6f |pdates e|asier fo|
|00003eb0| 72 20 79 6f 75 2e 20 49 | 66 20 79 6f 75 20 68 61 |r you. I|f you ha|
|00003ec0| 76 65 20 63 6f 6d 6d 65 | 6e 74 73 20 6f 72 20 73 |ve comme|nts or s|
|00003ed0| 75 67 67 65 73 74 69 6f | 6e 73 20 61 62 6f 75 74 |uggestio|ns about|
|00003ee0| 20 51 26 41 20 63 6f 6e | 74 65 6e 74 20 6f 72 20 | Q&A con|tent or |
|00003ef0| 64 69 73 74 72 69 62 75 | 74 69 6f 6e 2c 20 70 6c |distribu|tion, pl|
|00003f00| 65 61 73 65 20 6c 65 74 | 20 75 73 20 6b 6e 6f 77 |ease let| us know|
|00003f10| 20 62 79 20 73 65 6e 64 | 69 6e 67 20 61 6e 20 41 | by send|ing an A|
|00003f20| 70 70 6c 65 4c 69 6e 6b | 20 74 6f 20 44 45 56 46 |ppleLink| to DEVF|
|00003f30| 45 45 44 42 41 43 4b 2e | 20 41 70 70 6c 65 20 50 |EEDBACK.| Apple P|
|00003f40| 61 72 74 6e 65 72 73 20 | 6d 61 79 20 73 65 6e 64 |artners |may send|
|00003f50| 20 74 65 63 68 6e 69 63 | 61 6c 20 71 75 65 73 74 | technic|al quest|
|00003f60| 69 6f 6e 73 20 61 62 6f | 75 74 20 51 26 41 20 63 |ions abo|ut Q&A c|
|00003f70| 6f 6e 74 65 6e 74 20 74 | 6f 20 44 45 56 53 55 50 |ontent t|o DEVSUP|
|00003f80| 50 4f 52 54 20 66 6f 72 | 20 72 65 73 6f 6c 75 74 |PORT for| resolut|
|00003f90| 69 6f 6e 2e 0d 4e 65 77 | 20 51 26 41 73 20 61 6e |ion..New| Q&As an|
|00003fa0| 64 20 51 26 41 73 20 72 | 65 76 69 73 65 64 20 74 |d Q&As r|evised t|
|00003fb0| 68 69 73 20 6d 6f 6e 74 | 68 20 61 72 65 20 6d 61 |his mont|h are ma|
|00003fc0| 72 6b 65 64 20 77 69 74 | 68 20 61 20 62 61 72 20 |rked wit|h a bar |
|00003fd0| 69 6e 20 74 68 65 20 73 | 69 64 65 20 6d 61 72 67 |in the s|ide marg|
|00003fe0| 69 6e 2e 0d 39 2d 70 6f | 69 6e 74 20 47 65 6e 65 |in..9-po|int Gene|
|00003ff0| 76 61 20 77 69 74 68 20 | 61 20 75 73 65 72 49 74 |va with |a userIt|
|00004000| 65 6d 20 70 72 6f 63 20 | 72 65 71 75 69 72 65 73 |em proc |requires|
|00004010| 20 54 65 78 74 46 6f 6e | 74 20 26 20 54 65 78 74 | TextFon|t & Text|
|00004020| 53 69 7a 65 0d 57 72 69 | 74 74 65 6e 3a 09 31 31 |Size.Wri|tten:.11|
|00004030| 2f 31 2f 39 30 0d 4c 61 | 73 74 20 72 65 76 69 65 |/1/90.La|st revie|
|00004040| 77 65 64 3a 09 38 2f 31 | 2f 39 32 0d 49 73 20 74 |wed:.8/1|/92.Is t|
|00004050| 68 65 72 65 20 61 6e 79 | 20 77 61 79 20 74 6f 20 |here any| way to |
|00004060| 73 74 6f 70 20 74 68 65 | 20 4d 61 63 69 6e 74 6f |stop the| Macinto|
|00004070| 73 68 20 44 69 61 6c 6f | 67 20 4d 61 6e 61 67 65 |sh Dialo|g Manage|
|00004080| 72 20 66 72 6f 6d 20 70 | 6c 61 79 69 6e 67 20 77 |r from p|laying w|
|00004090| 69 74 68 20 74 68 65 20 | 74 78 53 69 7a 65 20 61 |ith the |txSize a|
|000040a0| 6e 64 20 74 78 46 61 63 | 65 20 66 69 65 6c 64 73 |nd txFac|e fields|
|000040b0| 20 6f 66 20 61 20 64 69 | 61 6c 6f 67 d5 73 20 67 | of a di|alog.s g|
|000040c0| 72 61 66 50 6f 72 74 20 | 73 6f 20 74 68 61 74 20 |rafPort |so that |
|000040d0| 49 20 63 61 6e 20 64 72 | 61 77 20 47 65 6e 65 76 |I can dr|aw Genev|
|000040e0| 61 20 39 2d 70 6f 69 6e | 74 20 74 65 78 74 20 66 |a 9-poin|t text f|
|000040f0| 72 6f 6d 20 77 69 74 68 | 69 6e 20 61 20 75 73 65 |rom with|in a use|
|00004100| 72 49 74 65 6d 20 70 72 | 6f 63 3f 0d 5f 5f 5f 0d |rItem pr|oc?.___.|
|00004110| 55 6e 66 6f 72 74 75 6e | 61 74 65 6c 79 2c 20 62 |Unfortun|ately, b|
|00004120| 65 63 61 75 73 65 20 74 | 68 65 20 44 69 61 6c 6f |ecause t|he Dialo|
|00004130| 67 20 4d 61 6e 61 67 65 | 72 20 66 6f 72 67 65 74 |g Manage|r forget|
|00004140| 73 20 61 62 6f 75 74 20 | 79 6f 75 72 20 70 72 65 |s about |your pre|
|00004150| 76 69 6f 75 73 20 63 61 | 6c 6c 73 20 74 6f 20 54 |vious ca|lls to T|
|00004160| 65 78 74 46 6f 6e 74 20 | 61 6e 64 20 54 65 78 74 |extFont |and Text|
|00004170| 53 69 7a 65 20 77 68 65 | 6e 20 79 6f 75 20 70 75 |Size whe|n you pu|
|00004180| 74 20 75 70 20 79 6f 75 | 72 20 64 69 61 6c 6f 67 |t up you|r dialog|
|00004190| 20 61 67 61 69 6e 2c 20 | 79 6f 75 20 77 69 6c 6c | again, |you will|
|000041a0| 20 6e 65 65 64 20 74 6f | 20 63 61 6c 6c 20 54 65 | need to| call Te|
|000041b0| 78 74 46 6f 6e 74 20 61 | 6e 64 20 54 65 78 74 53 |xtFont a|nd TextS|
|000041c0| 69 7a 65 20 65 76 65 72 | 79 20 74 69 6d 65 20 79 |ize ever|y time y|
|000041d0| 6f 75 72 20 75 73 65 72 | 49 74 65 6d 20 70 72 6f |our user|Item pro|
|000041e0| 63 20 69 73 20 63 61 6c | 6c 65 64 2e 0d 55 73 69 |c is cal|led..Usi|
|000041f0| 6e 67 20 47 65 6e 65 76 | 61 20 39 20 69 6e 20 4d |ng Genev|a 9 in M|
|00004200| 61 63 69 6e 74 6f 73 68 | 20 64 69 61 6c 6f 67 20 |acintosh| dialog |
|00004210| 74 65 78 74 20 66 69 65 | 6c 64 73 0d 57 72 69 74 |text fie|lds.Writ|
|00004220| 74 65 6e 3a 09 31 31 2f | 37 2f 39 30 0d 4c 61 73 |ten:.11/|7/90.Las|
|00004230| 74 20 72 65 76 69 65 77 | 65 64 3a 09 38 2f 31 2f |t review|ed:.8/1/|
|00004240| 39 32 0d 49 6e 20 61 20 | 47 65 6e 65 76 61 20 39 |92.In a |Geneva 9|
|00004250| 20 4d 61 63 69 6e 74 6f | 73 68 20 64 69 61 6c 6f | Macinto|sh dialo|
|00004260| 67 20 65 64 69 74 20 74 | 65 78 74 20 69 74 65 6d |g edit t|ext item|
|00004270| 2c 20 74 68 65 20 6c 61 | 73 74 20 76 69 73 69 62 |, the la|st visib|
|00004280| 6c 65 20 74 6f 6b 65 6e | 20 74 68 61 74 20 65 78 |le token| that ex|
|00004290| 74 65 6e 64 73 20 62 65 | 79 6f 6e 64 20 74 68 65 |tends be|yond the|
|000042a0| 20 65 6e 64 20 6f 66 20 | 74 68 65 20 69 74 65 6d | end of |the item|
|000042b0| d5 73 20 72 65 63 74 61 | 6e 67 6c 65 20 69 73 20 |.s recta|ngle is |
|000042c0| 6e 6f 74 20 64 72 61 77 | 6e 20 77 68 65 6e 20 66 |not draw|n when f|
|000042d0| 69 72 73 74 20 64 69 73 | 70 6c 61 79 65 64 2e 20 |irst dis|played. |
|000042e0| 54 79 70 69 6e 67 20 61 | 20 63 68 61 72 61 63 74 |Typing a| charact|
|000042f0| 65 72 20 69 6e 74 6f 20 | 74 68 65 20 69 6e 76 69 |er into |the invi|
|00004300| 73 69 62 6c 65 20 70 61 | 72 74 20 6f 66 20 74 68 |sible pa|rt of th|
|00004310| 65 20 73 74 72 69 6e 67 | 20 72 65 73 75 6c 74 73 |e string| results|
|00004320| 20 69 6e 20 74 68 65 20 | 63 68 61 72 61 63 74 65 | in the |characte|
|00004330| 72 20 62 65 66 6f 72 65 | 20 61 6e 64 20 61 6c 6c |r before| and all|
|00004340| 20 63 68 61 72 61 63 74 | 65 72 73 20 61 66 74 65 | charact|ers afte|
|00004350| 72 20 74 68 65 20 74 79 | 70 65 64 20 63 68 61 72 |r the ty|ped char|
|00004360| 61 63 74 65 72 20 62 65 | 69 6e 67 20 64 72 61 77 |acter be|ing draw|
|00004370| 6e 2e 20 54 68 65 20 70 | 72 6f 62 6c 65 6d 20 61 |n. The p|roblem a|
|00004380| 6c 77 61 79 73 20 61 70 | 70 65 61 72 73 20 69 6e |lways ap|pears in|
|00004390| 20 74 68 65 20 73 61 6d | 65 20 65 64 69 74 20 74 | the sam|e edit t|
|000043a0| 65 78 74 20 69 74 65 6d | 73 20 62 75 74 20 6e 6f |ext item|s but no|
|000043b0| 74 20 69 6e 20 65 76 65 | 72 79 20 65 64 69 74 20 |t in eve|ry edit |
|000043c0| 74 65 78 74 20 69 74 65 | 6d 2e 20 54 68 65 20 6f |text ite|m. The o|
|000043d0| 6e 6c 79 20 64 69 66 66 | 65 72 65 6e 63 65 20 73 |nly diff|erence s|
|000043e0| 65 65 6d 73 20 74 6f 20 | 62 65 20 74 68 65 20 77 |eems to |be the w|
|000043f0| 69 64 74 68 20 6f 66 20 | 69 74 65 6d 20 72 65 63 |idth of |item rec|
|00004400| 74 61 6e 67 6c 65 73 2e | 20 57 68 61 74 d5 73 20 |tangles.| What.s |
|00004410| 77 72 6f 6e 67 3f 0d 5f | 5f 5f 0d 48 65 72 65 20 |wrong?._|__.Here |
|00004420| 69 73 20 73 6f 6d 65 20 | 73 61 6d 70 6c 65 20 63 |is some |sample c|
|00004430| 6f 64 65 20 74 68 61 74 | 20 73 68 6f 75 6c 64 20 |ode that| should |
|00004440| 73 68 6f 77 20 68 6f 77 | 20 74 6f 20 73 65 74 20 |show how| to set |
|00004450| 75 70 20 79 6f 75 72 20 | 64 69 61 6c 6f 67 20 74 |up your |dialog t|
|00004460| 6f 20 62 65 74 74 65 72 | 20 73 75 70 70 6f 72 74 |o better| support|
|00004470| 20 47 65 6e 65 76 61 20 | 39 20 66 6f 72 20 79 6f | Geneva |9 for yo|
|00004480| 75 72 20 64 69 61 6c 6f | 67 d5 73 20 74 65 78 74 |ur dialo|g.s text|
|00004490| 20 66 69 65 6c 64 73 2e | 20 49 20 68 61 76 65 20 | fields.| I have |
|000044a0| 75 73 65 64 20 69 74 20 | 69 6e 20 6d 79 20 6f 77 |used it |in my ow|
|000044b0| 6e 20 63 6f 64 65 20 61 | 6e 64 20 65 76 65 72 79 |n code a|nd every|
|000044c0| 74 68 69 6e 67 20 73 65 | 65 6d 73 20 74 6f 20 77 |thing se|ems to w|
|000044d0| 6f 72 6b 20 4f 4b 2e 0d | 6d 79 44 69 61 6c 6f 67 |ork OK..|myDialog|
|000044e0| 20 3a 3d 20 44 69 61 6c | 6f 67 50 74 72 28 4e 65 | := Dial|ogPtr(Ne|
|000044f0| 77 50 74 72 28 53 49 5a | 45 4f 46 28 44 69 61 6c |wPtr(SIZ|EOF(Dial|
|00004500| 6f 67 52 65 63 6f 72 64 | 29 29 29 3b 0d 69 66 20 |ogRecord|)));.if |
|00004510| 6d 79 44 69 61 6c 6f 67 | 20 3d 20 6e 69 6c 20 74 |myDialog| = nil t|
|00004520| 68 65 6e 0d 20 20 45 78 | 69 74 54 6f 53 68 65 6c |hen. Ex|itToShel|
|00004530| 6c 3b 0d 66 6f 72 20 69 | 20 3a 3d 20 31 20 74 6f |l;.for i| := 1 to|
|00004540| 20 33 20 64 6f 0d 20 20 | 62 65 67 69 6e 0d 20 20 | 3 do. |begin. |
|00004550| 20 20 69 66 20 45 76 65 | 6e 74 41 76 61 69 6c 28 | if Eve|ntAvail(|
|00004560| 65 76 65 72 79 45 76 65 | 6e 74 2c 20 65 76 74 29 |everyEve|nt, evt)|
|00004570| 20 74 68 65 6e 0d 20 20 | 65 6e 64 3b 0d 6d 79 44 | then. |end;.myD|
|00004580| 69 61 6c 6f 67 20 3a 3d | 20 47 65 74 4e 65 77 44 |ialog :=| GetNewD|
|00004590| 69 61 6c 6f 67 28 72 44 | 69 61 6c 6f 67 2c 20 50 |ialog(rD|ialog, P|
|000045a0| 74 72 28 6d 79 44 69 61 | 6c 6f 67 29 2c 20 44 69 |tr(myDia|log), Di|
|000045b0| 61 6c 6f 67 50 74 72 28 | 2d 31 29 29 3b 0d 53 65 |alogPtr(|-1));.Se|
|000045c0| 74 50 6f 72 74 28 6d 79 | 44 69 61 6c 6f 67 29 3b |tPort(my|Dialog);|
|000045d0| 0d 64 70 20 3a 3d 20 44 | 69 61 6c 6f 67 50 65 65 |.dp := D|ialogPee|
|000045e0| 6b 28 6d 79 44 69 61 6c | 6f 67 29 3b 0d 54 65 78 |k(myDial|og);.Tex|
|000045f0| 74 46 6f 6e 74 28 67 65 | 6e 65 76 61 29 3b 0d 54 |tFont(ge|neva);.T|
|00004600| 65 78 74 53 69 7a 65 28 | 39 29 3b 0d 64 70 5e 2e |extSize(|9);.dp^.|
|00004610| 74 65 78 74 48 5e 5e 2e | 74 78 46 6f 6e 74 20 3a |textH^^.|txFont :|
|00004620| 3d 20 67 65 6e 65 76 61 | 3b 0d 64 70 5e 2e 74 65 |= geneva|;.dp^.te|
|00004630| 78 74 48 5e 5e 2e 74 78 | 53 69 7a 65 20 3a 3d 20 |xtH^^.tx|Size := |
|00004640| 39 3b 0d 53 65 74 57 54 | 69 74 6c 65 28 6d 79 44 |9;.SetWT|itle(myD|
|00004650| 69 61 6c 6f 67 2c 20 27 | 41 44 53 50 20 54 68 69 |ialog, '|ADSP Thi|
|00004660| 6e 67 27 29 3b 0d 20 20 | 7b 64 6f 20 6f 74 68 65 |ng');. |{do othe|
|00004670| 72 20 64 69 61 6c 6f 67 | 20 73 65 74 75 70 20 73 |r dialog| setup s|
|00004680| 74 75 66 66 20 68 65 72 | 65 2c 20 6c 69 6b 65 20 |tuff her|e, like |
|00004690| 70 75 74 74 69 6e 67 20 | 79 6f 75 72 20 74 65 78 |putting |your tex|
|000046a0| 74 20 69 6e 20 79 6f 75 | 72 20 64 49 74 65 6d 73 |t in you|r dItems|
|000046b0| 2e 7d 0d 53 68 6f 77 57 | 69 6e 64 6f 77 28 6d 79 |.}.ShowW|indow(my|
|000046c0| 44 69 61 6c 6f 67 29 3b | 0d 44 6c 67 43 75 74 2c |Dialog);|.DlgCut,|
|000046d0| 20 43 6f 70 79 20 61 6e | 64 20 50 61 73 74 65 20 | Copy an|d Paste |
|000046e0| 61 72 65 20 4f 4b 20 66 | 6f 72 20 6d 6f 64 65 6c |are OK f|or model|
|000046f0| 65 73 73 20 64 69 61 6c | 6f 67 20 62 6f 78 65 73 |ess dial|og boxes|
|00004700| 0d 57 72 69 74 74 65 6e | 3a 09 31 32 2f 31 32 2f |.Written|:.12/12/|
|00004710| 39 30 0d 4c 61 73 74 20 | 72 65 76 69 65 77 65 64 |90.Last |reviewed|
|00004720| 3a 09 38 2f 31 2f 39 32 | 0d 41 20 6d 6f 64 65 6c |:.8/1/92|.A model|
|00004730| 65 73 73 20 64 69 61 6c | 6f 67 20 62 6f 78 20 69 |ess dial|og box i|
|00004740| 73 20 74 68 65 20 6f 6e | 6c 79 20 77 69 6e 64 6f |s the on|ly windo|
|00004750| 77 20 74 68 61 74 20 65 | 76 65 72 20 63 6f 6d 65 |w that e|ver come|
|00004760| 73 20 75 70 20 69 6e 20 | 6d 79 20 4d 61 63 69 6e |s up in |my Macin|
|00004770| 74 6f 73 68 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |tosh app|lication|
|00004780| 2e 20 41 20 6b 65 79 64 | 6f 77 6e 20 65 76 65 6e |. A keyd|own even|
|00004790| 74 20 61 6c 6f 6e 67 20 | 77 69 74 68 20 74 68 65 |t along |with the|
|000047a0| 20 63 6d 64 20 63 75 74 | 2c 20 63 6f 70 79 2c 20 | cmd cut|, copy, |
|000047b0| 6f 72 20 70 61 73 74 65 | 20 6d 6f 64 69 66 69 65 |or paste| modifie|
|000047c0| 72 20 6b 65 79 20 63 61 | 6c 6c 73 20 74 68 65 20 |r key ca|lls the |
|000047d0| 44 6c 67 43 75 74 2c 20 | 44 6c 67 43 6f 70 79 2c |DlgCut, |DlgCopy,|
|000047e0| 20 6f 72 20 44 6c 67 50 | 61 73 74 65 20 72 6f 75 | or DlgP|aste rou|
|000047f0| 74 69 6e 65 73 2c 20 70 | 61 73 73 69 6e 67 20 74 |tines, p|assing t|
|00004800| 68 65 20 64 69 61 6c 6f | 67 20 62 6f 78 20 68 61 |he dialo|g box ha|
|00004810| 6e 64 6c 65 20 72 65 74 | 75 72 6e 65 64 20 66 72 |ndle ret|urned fr|
|00004820| 6f 6d 20 61 20 47 65 74 | 4e 65 77 44 69 61 6c 6f |om a Get|NewDialo|
|00004830| 67 20 63 61 6c 6c 2e 20 | 57 68 65 6e 20 74 68 69 |g call. |When thi|
|00004840| 73 20 64 69 61 6c 6f 67 | 20 62 6f 78 20 63 6f 6e |s dialog| box con|
|00004850| 74 61 69 6e 73 20 61 6e | 20 65 6e 61 62 6c 65 64 |tains an| enabled|
|00004860| 20 65 64 69 74 20 74 65 | 78 74 20 69 74 65 6d 2c | edit te|xt item,|
|00004870| 20 74 68 65 20 63 75 74 | 20 77 6f 72 6b 73 2c 20 | the cut| works, |
|00004880| 62 75 74 20 74 68 65 20 | 61 70 70 6c 69 63 61 74 |but the |applicat|
|00004890| 69 6f 6e 20 70 61 73 74 | 65 73 20 67 61 72 62 61 |ion past|es garba|
|000048a0| 67 65 20 6f 72 20 73 6f | 6d 65 74 69 6d 65 73 20 |ge or so|metimes |
|000048b0| 62 6f 6d 62 73 2e 0d 5f | 5f 5f 0d 44 6c 67 43 75 |bombs.._|__.DlgCu|
|000048c0| 74 2c 20 44 6c 67 43 6f | 70 79 2c 20 61 6e 64 20 |t, DlgCo|py, and |
|000048d0| 44 6c 67 50 61 73 74 65 | 20 61 72 65 20 66 69 6e |DlgPaste| are fin|
|000048e0| 65 20 66 6f 72 20 77 68 | 61 74 20 79 6f 75 20 61 |e for wh|at you a|
|000048f0| 72 65 20 64 6f 69 6e 67 | 2c 20 61 6e 64 20 74 68 |re doing|, and th|
|00004900| 65 20 70 72 6f 63 65 64 | 75 72 65 20 79 6f 75 20 |e proced|ure you |
|00004910| 64 65 73 63 72 69 62 65 | 20 66 6f 72 20 79 6f 75 |describe| for you|
|00004920| 72 20 69 6d 70 6c 65 6d | 65 6e 74 61 74 69 6f 6e |r implem|entation|
|00004930| 20 73 6f 75 6e 64 73 20 | 6c 69 6b 65 20 69 74 20 | sounds |like it |
|00004940| 73 68 6f 75 6c 64 20 77 | 6f 72 6b 20 66 69 6e 65 |should w|ork fine|
|00004950| 2e 0d 59 6f 75 20 64 6f | 20 6e 6f 74 20 6e 65 65 |..You do| not nee|
|00004960| 64 20 74 6f 20 73 65 74 | 20 74 68 65 20 70 6f 72 |d to set| the por|
|00004970| 74 20 28 61 73 20 6c 6f | 6e 67 20 61 73 20 79 6f |t (as lo|ng as yo|
|00004980| 75 d5 72 65 20 63 68 65 | 63 6b 69 6e 67 20 74 68 |u.re che|cking th|
|00004990| 61 74 20 74 68 65 20 66 | 72 6f 6e 74 20 77 69 6e |at the f|ront win|
|000049a0| 64 6f 77 20 69 73 20 61 | 20 64 69 61 6c 6f 67 2c |dow is a| dialog,|
|000049b0| 20 77 68 69 63 68 20 64 | 6f 65 73 6e d5 74 20 61 | which d|oesn.t a|
|000049c0| 66 66 65 63 74 20 79 6f | 75 20 73 69 6e 63 65 20 |ffect yo|u since |
|000049d0| 79 6f 75 20 6f 6e 6c 79 | 20 68 61 76 65 20 6f 6e |you only| have on|
|000049e0| 65 20 77 69 6e 64 6f 77 | 29 3b 20 74 68 65 20 72 |e window|); the r|
|000049f0| 6f 75 74 69 6e 65 73 20 | 74 61 6b 65 20 74 68 65 |outines |take the|
|00004a00| 69 72 20 61 63 74 69 6f | 6e 20 62 61 73 65 64 20 |ir actio|n based |
|00004a10| 6f 6e 20 74 68 65 20 69 | 74 65 6d 20 6c 69 73 74 |on the i|tem list|
|00004a20| 20 61 74 74 61 63 68 65 | 64 20 74 6f 20 74 68 65 | attache|d to the|
|00004a30| 20 64 69 61 6c 6f 67 20 | 70 6f 69 6e 74 65 72 20 | dialog |pointer |
|00004a40| 79 6f 75 20 70 61 73 73 | 2e 20 49 6e 20 66 61 63 |you pass|. In fac|
|00004a50| 74 2c 20 44 6c 67 43 75 | 74 2c 20 44 6c 67 43 6f |t, DlgCu|t, DlgCo|
|00004a60| 70 79 2c 20 61 6e 64 20 | 44 6c 67 50 61 73 74 65 |py, and |DlgPaste|
|00004a70| 20 77 6f 72 6b 20 6f 6e | 20 74 68 65 20 64 69 61 | work on| the dia|
|00004a80| 6c 6f 67 20 79 6f 75 20 | 70 61 73 73 65 64 20 65 |log you |passed e|
|00004a90| 76 65 6e 20 69 66 20 74 | 68 65 20 64 69 61 6c 6f |ven if t|he dialo|
|00004aa0| 67 20 69 73 20 6e 6f 74 | 20 66 72 6f 6e 74 6d 6f |g is not| frontmo|
|00004ab0| 73 74 2c 20 77 68 69 63 | 68 20 69 73 20 77 68 79 |st, whic|h is why|
|00004ac0| 20 79 6f 75 20 6e 65 65 | 64 20 74 6f 20 63 68 65 | you nee|d to che|
|00004ad0| 63 6b 2e 0d 43 6f 6c 6f | 72 20 64 69 61 6c 6f 67 |ck..Colo|r dialog|
|00004ae0| 20 62 6f 78 65 73 20 6f | 6e 20 4d 61 63 69 6e 74 | boxes o|n Macint|
|00004af0| 6f 73 68 20 36 38 30 30 | 30 20 73 79 73 74 65 6d |osh 6800|0 system|
|00004b00| 73 0d 57 72 69 74 74 65 | 6e 3a 09 31 32 2f 31 34 |s.Writte|n:.12/14|
|00004b10| 2f 39 30 0d 4c 61 73 74 | 20 72 65 76 69 65 77 65 |/90.Last| reviewe|
|00004b20| 64 3a 09 38 2f 31 2f 39 | 32 0d 57 68 79 20 64 6f |d:.8/1/9|2.Why do|
|00004b30| 65 73 20 61 20 63 6f 6c | 6f 72 20 64 69 61 6c 6f |es a col|or dialo|
|00004b40| 67 20 62 6f 78 20 77 69 | 74 68 20 6d 75 6c 74 69 |g box wi|th multi|
|00004b50| 70 6c 65 20 66 6f 6e 74 | 73 20 75 73 69 6e 67 20 |ple font|s using |
|00004b60| 62 6f 74 68 20 74 68 65 | 20 69 63 74 62 20 61 6e |both the| ictb an|
|00004b70| 64 20 64 63 74 62 20 72 | 65 73 6f 75 72 63 65 73 |d dctb r|esources|
|00004b80| 20 73 68 6f 77 20 75 70 | 20 61 73 20 61 20 73 69 | show up| as a si|
|00004b90| 6e 67 6c 65 20 66 6f 6e | 74 20 6f 6e 20 36 38 30 |ngle fon|t on 680|
|00004ba0| 30 30 20 6d 61 63 68 69 | 6e 65 73 3f 0d 5f 5f 5f |00 machi|nes?.___|
|00004bb0| 0d 43 6f 6c 6f 72 20 51 | 75 69 63 6b 44 72 61 77 |.Color Q|uickDraw|
|00004bc0| 20 69 73 20 6e 6f 74 20 | 6c 6f 61 64 65 64 20 28 | is not |loaded (|
|00004bd0| 69 6d 70 6c 65 6d 65 6e | 74 65 64 29 20 6f 6e 20 |implemen|ted) on |
|00004be0| 36 38 30 30 30 20 6d 61 | 63 68 69 6e 65 73 2c 20 |68000 ma|chines, |
|00004bf0| 74 68 65 72 65 66 6f 72 | 65 2c 20 27 69 63 74 62 |therefor|e, 'ictb|
|00004c00| 27 73 20 61 72 65 20 69 | 67 6e 6f 72 65 64 2e 20 |'s are i|gnored. |
|00004c10| 48 6f 77 65 76 65 72 2c | 20 79 6f 75 20 6d 61 79 |However,| you may|
|00004c20| 20 73 74 69 6c 6c 20 62 | 65 20 61 62 6c 65 20 74 | still b|e able t|
|00004c30| 6f 20 75 73 65 20 6d 75 | 6c 74 69 70 6c 65 20 66 |o use mu|ltiple f|
|00004c40| 6f 6e 74 73 20 6f 6e 20 | 79 6f 75 72 20 64 69 61 |onts on |your dia|
|00004c50| 6c 6f 67 73 20 69 66 20 | 79 6f 75 20 75 73 65 20 |logs if |you use |
|00004c60| 61 20 75 73 65 72 49 74 | 65 6d 20 61 6e 64 20 64 |a userIt|em and d|
|00004c70| 72 61 77 20 74 68 65 6d | 20 79 6f 75 72 73 65 6c |raw them| yoursel|
|00004c80| 66 2e 20 57 68 65 6e 20 | 79 6f 75 20 63 72 65 61 |f. When |you crea|
|00004c90| 74 65 20 61 20 75 73 65 | 72 49 74 65 6d 2c 20 79 |te a use|rItem, y|
|00004ca0| 6f 75 20 63 61 6e 20 73 | 65 74 20 61 6c 6c 20 74 |ou can s|et all t|
|00004cb0| 68 65 20 6e 65 63 65 73 | 73 61 72 79 20 61 74 74 |he neces|sary att|
|00004cc0| 72 69 62 75 74 65 73 2c | 20 64 72 61 77 20 74 68 |ributes,| draw th|
|00004cd0| 65 20 67 72 61 70 68 69 | 63 73 2c 20 61 6e 64 20 |e graphi|cs, and |
|00004ce0| 6a 75 73 74 20 61 62 6f | 75 74 20 61 6e 79 74 68 |just abo|ut anyth|
|00004cf0| 69 6e 67 20 65 6c 73 65 | 20 79 6f 75 20 77 61 6e |ing else| you wan|
|00004d00| 74 20 74 6f 20 64 6f 20 | 77 69 74 68 20 61 20 64 |t to do |with a d|
|00004d10| 69 61 6c 6f 67 20 77 69 | 74 68 6f 75 74 20 74 72 |ialog wi|thout tr|
|00004d20| 79 69 6e 67 20 74 6f 20 | 63 6f 6d 70 65 74 65 20 |ying to |compete |
|00004d30| 77 69 74 68 20 74 68 65 | 20 64 69 61 6c 6f 67 20 |with the| dialog |
|00004d40| 6d 61 6e 61 67 65 72 2e | 20 57 68 65 6e 65 76 65 |manager.| Wheneve|
|00004d50| 72 20 79 6f 75 20 74 72 | 79 20 74 6f 20 66 6f 72 |r you tr|y to for|
|00004d60| 63 65 20 61 74 74 72 69 | 62 75 74 65 73 20 69 6e |ce attri|butes in|
|00004d70| 74 6f 20 61 20 64 69 61 | 6c 6f 67 2c 20 73 75 63 |to a dia|log, suc|
|00004d80| 68 20 61 73 20 66 6f 6e | 74 73 2c 20 79 6f 75 20 |h as fon|ts, you |
|00004d90| 64 6f 6e d5 74 20 61 6c | 77 61 79 73 20 67 65 74 |don.t al|ways get|
|00004da0| 20 74 68 65 20 75 70 64 | 61 74 65 20 6d 65 73 73 | the upd|ate mess|
|00004db0| 61 67 65 73 2e 20 54 68 | 69 73 20 63 61 6e 20 6c |ages. Th|is can l|
|00004dc0| 65 61 64 20 74 6f 20 73 | 6c 6f 70 70 79 20 6c 6f |ead to s|loppy lo|
|00004dd0| 6f 6b 69 6e 67 20 64 69 | 61 6c 6f 67 73 2e 20 54 |oking di|alogs. T|
|00004de0| 68 65 20 64 69 61 6c 6f | 67 20 6d 61 6e 61 67 65 |he dialo|g manage|
|00004df0| 72 20 77 69 6c 6c 20 6c | 65 74 20 79 6f 75 20 64 |r will l|et you d|
|00004e00| 6f 20 77 68 61 74 20 79 | 6f 75 20 77 61 6e 74 20 |o what y|ou want |
|00004e10| 77 69 74 68 20 79 6f 75 | 72 20 75 73 65 72 49 74 |with you|r userIt|
|00004e20| 65 6d 2c 20 74 68 65 6e | 20 61 6c 6c 20 79 6f 75 |em, then| all you|
|00004e30| 20 6e 65 65 64 20 74 6f | 20 64 6f 20 69 73 20 74 | need to| do is t|
|00004e40| 6f 20 73 65 74 20 74 68 | 65 20 66 6f 6e 74 20 61 |o set th|e font a|
|00004e50| 74 74 72 69 62 75 74 65 | 73 20 62 61 63 6b 20 74 |ttribute|s back t|
|00004e60| 6f 20 77 68 61 74 20 74 | 68 65 79 20 77 65 72 65 |o what t|hey were|
|00004e70| 20 62 65 66 6f 72 65 2e | 0d 42 65 6c 6f 77 20 69 | before.|.Below i|
|00004e80| 73 20 61 20 73 61 6d 70 | 6c 65 20 6f 66 20 68 6f |s a samp|le of ho|
|00004e90| 77 20 74 6f 20 64 6f 20 | 61 20 75 73 65 72 49 74 |w to do |a userIt|
|00004ea0| 65 6d 2e 20 49 74 20 69 | 73 20 6e 6f 74 20 6e 65 |em. It i|s not ne|
|00004eb0| 63 65 73 73 61 72 69 6c | 79 20 63 6f 6d 70 6c 65 |cessaril|y comple|
|00004ec0| 74 65 2c 20 62 75 74 20 | 69 74 20 69 73 20 67 6f |te, but |it is go|
|00004ed0| 6f 64 20 66 6f 72 20 72 | 65 66 65 72 65 6e 63 65 |od for r|eference|
|00004ee0| 20 74 6f 20 67 65 74 20 | 79 6f 75 20 73 74 61 72 | to get |you star|
|00004ef0| 74 65 64 2e 0d 20 20 20 | 20 2f 2a 20 63 72 65 61 |ted.. | /* crea|
|00004f00| 74 65 20 61 20 75 73 65 | 72 49 74 65 6d 20 74 68 |te a use|rItem th|
|00004f10| 61 74 20 63 6f 76 65 72 | 73 20 74 68 65 20 77 68 |at cover|s the wh|
|00004f20| 6f 6c 65 20 74 65 78 74 | 20 61 72 65 61 20 79 6f |ole text| area yo|
|00004f30| 75 20 77 61 6e 74 20 74 | 6f 20 64 72 61 77 0d 20 |u want t|o draw. |
|00004f40| 20 20 20 28 69 74 20 63 | 61 6e 20 6f 76 65 72 6c | (it c|an overl|
|00004f50| 61 70 20 6f 74 68 65 72 | 20 64 69 61 6c 6f 67 20 |ap other| dialog |
|00004f60| 69 74 65 6d 73 2c 20 6c | 69 6b 65 20 62 75 74 74 |items, l|ike butt|
|00004f70| 6f 6e 73 20 61 6e 64 20 | 73 6f 20 6f 6e 29 20 61 |ons and |so on) a|
|00004f80| 6e 64 20 69 6e 73 74 61 | 6c 6c 0d 20 20 20 20 79 |nd insta|ll. y|
|00004f90| 6f 75 72 20 70 72 6f 63 | 65 64 75 72 65 20 74 6f |our proc|edure to|
|00004fa0| 20 69 74 20 6c 69 6b 65 | 20 73 6f 20 2a 2f 0d 20 | it like| so */. |
|00004fb0| 20 20 20 47 65 74 44 49 | 74 65 6d 28 74 64 69 61 | GetDI|tem(tdia|
|00004fc0| 6c 2c 69 74 65 6d 4e 75 | 6d 62 65 72 2c 26 69 73 |l,itemNu|mber,&is|
|00004fd0| 69 74 65 6d 2c 26 74 68 | 65 48 61 6e 64 6c 65 2c |item,&th|eHandle,|
|00004fe0| 26 72 65 63 74 29 3b 0d | 20 20 20 20 53 65 74 44 |&rect);.| SetD|
|00004ff0| 49 74 65 6d 28 74 64 69 | 61 6c 2c 69 74 65 6d 4e |Item(tdi|al,itemN|
|00005000| 75 6d 62 65 72 2c 75 73 | 65 72 49 74 65 6d 2c 28 |umber,us|erItem,(|
|00005010| 48 61 6e 64 6c 65 29 64 | 6f 4d 79 44 72 61 77 69 |Handle)d|oMyDrawi|
|00005020| 6e 67 2c 26 72 65 63 74 | 29 3b 0d 20 20 20 20 2f |ng,&rect|);. /|
|00005030| 2a 20 74 68 65 48 61 6e | 64 6c 65 20 61 6e 64 20 |* theHan|dle and |
|00005040| 72 65 63 74 20 61 72 65 | 20 6e 6f 74 20 6e 65 63 |rect are| not nec|
|00005050| 65 73 73 61 72 79 20 66 | 6f 72 20 79 6f 75 20 74 |essary f|or you t|
|00005060| 6f 20 6b 65 65 70 20 74 | 72 61 63 6b 20 6f 66 2c |o keep t|rack of,|
|00005070| 20 74 68 65 79 27 72 65 | 0d 20 20 20 20 6a 75 73 | they're|. jus|
|00005080| 74 20 6e 65 65 64 65 64 | 20 74 6f 20 66 69 6c 6c |t needed| to fill|
|00005090| 20 6f 75 74 20 74 68 65 | 20 63 61 6c 6c 2e 20 2a | out the| call. *|
|000050a0| 2f 0d 20 20 20 20 50 61 | 73 63 61 6c 20 20 20 20 |/. Pa|scal |
|000050b0| 76 6f 69 64 20 64 6f 4d | 79 44 72 61 77 69 6e 67 |void doM|yDrawing|
|000050c0| 28 44 69 61 6c 67 6f 50 | 74 72 20 64 69 61 6c 57 |(DialgoP|tr dialW|
|000050d0| 69 6e 64 6f 77 2c 20 73 | 68 6f 72 74 20 74 68 65 |indow, s|hort the|
|000050e0| 49 74 65 6d 29 0d 20 20 | 20 20 7b 73 68 6f 72 74 |Item). | {short|
|000050f0| 20 20 20 20 74 68 65 53 | 69 7a 65 3b 0d 20 20 20 | theS|ize;. |
|00005100| 20 73 68 6f 72 74 20 20 | 20 20 74 68 65 46 6f 6e | short | theFon|
|00005110| 74 3b 0d 20 20 20 20 53 | 65 74 50 6f 72 74 28 64 |t;. S|etPort(d|
|00005120| 69 61 6c 57 69 6e 64 6f | 77 29 3b 0d 20 20 20 20 |ialWindo|w);. |
|00005130| 74 68 65 53 69 7a 65 3d | 64 69 61 6c 57 69 6e 64 |theSize=|dialWind|
|00005140| 6f 77 2d 3e 74 78 53 69 | 7a 65 3b 20 20 20 2f 2a |ow->txSi|ze; /*|
|00005150| 20 73 61 76 65 20 74 68 | 65 20 63 75 72 72 65 6e | save th|e curren|
|00005160| 74 20 73 69 7a 65 20 61 | 6e 64 20 66 6f 6e 74 20 |t size a|nd font |
|00005170| 2a 2f 0d 20 20 20 20 74 | 68 65 46 6f 6e 74 3d 64 |*/. t|heFont=d|
|00005180| 69 61 6c 57 69 6e 64 6f | 77 2d 3e 74 78 46 6f 6e |ialWindo|w->txFon|
|00005190| 74 3b 0d 20 20 20 20 44 | 72 61 77 4d 65 61 73 75 |t;. D|rawMeasu|
|000051a0| 72 65 54 65 78 74 28 29 | 3b 20 20 20 20 20 20 20 |reText()|; |
|000051b0| 20 20 20 20 20 2f 2a 20 | 64 6f 20 79 6f 75 72 20 | /* |do your |
|000051c0| 64 72 61 77 69 6e 67 20 | 2a 2f 0d 20 20 20 20 54 |drawing |*/. T|
|000051d0| 65 78 74 46 6f 6e 74 28 | 74 68 65 46 6f 6e 74 29 |extFont(|theFont)|
|000051e0| 3b 20 20 20 20 20 20 20 | 20 20 20 20 20 2f 2a 20 |; | /* |
|000051f0| 72 65 73 74 6f 72 65 20 | 73 74 75 66 66 20 2a 2f |restore |stuff */|
|00005200| 0d 20 20 20 20 54 65 78 | 74 53 69 7a 65 28 74 68 |. Tex|tSize(th|
|00005210| 65 53 69 7a 65 29 3b 0d | 20 20 20 20 7d 0d 58 2d |eSize);.| }.X-|
|00005220| 52 65 66 3a 0d 49 6e 73 | 69 64 65 20 4d 61 63 69 |Ref:.Ins|ide Maci|
|00005230| 6e 74 6f 73 68 20 56 6f | 6c 75 6d 65 20 49 2c 20 |ntosh Vo|lume I, |
|00005240| 70 61 67 65 20 34 32 31 | 20 28 44 69 61 6c 6f 67 |page 421| (Dialog|
|00005250| 20 4d 61 6e 61 67 65 72 | 20 43 68 61 70 74 65 72 | Manager| Chapter|
|00005260| 29 0d 57 68 65 72 65 20 | 74 6f 20 66 69 6e 64 20 |).Where |to find |
|00005270| 57 44 45 46 20 66 6f 72 | 20 6d 6f 76 61 62 6c 65 |WDEF for| movable|
|00005280| 20 6d 6f 64 61 6c 20 64 | 69 61 6c 6f 67 20 62 6f | modal d|ialog bo|
|00005290| 78 65 73 0d 57 72 69 74 | 74 65 6e 3a 09 31 32 2f |xes.Writ|ten:.12/|
|000052a0| 31 37 2f 39 30 0d 4c 61 | 73 74 20 72 65 76 69 65 |17/90.La|st revie|
|000052b0| 77 65 64 3a 09 38 2f 31 | 2f 39 32 0d 54 68 65 20 |wed:.8/1|/92.The |
|000052c0| 57 44 45 46 20 66 6f 72 | 20 6d 6f 76 61 62 6c 65 |WDEF for| movable|
|000052d0| 20 6d 6f 64 61 6c 20 64 | 69 61 6c 6f 67 20 62 6f | modal d|ialog bo|
|000052e0| 78 65 73 20 69 73 20 61 | 76 61 69 6c 61 62 6c 65 |xes is a|vailable|
|000052f0| 20 6f 6e 20 74 68 65 20 | 6c 61 74 65 73 74 20 44 | on the |latest D|
|00005300| 65 76 65 6c 6f 70 65 72 | 20 43 44 20 53 65 72 69 |eveloper| CD Seri|
|00005310| 65 73 20 64 69 73 63 20 | 61 73 20 66 6f 6c 6c 6f |es disc |as follo|
|00005320| 77 73 3a 0d 20 20 20 20 | 44 65 76 65 6c 6f 70 65 |ws:. |Develope|
|00005330| 72 20 45 73 73 65 6e 74 | 69 61 6c 73 3a 54 65 63 |r Essent|ials:Tec|
|00005340| 68 6e 69 63 61 6c 20 44 | 6f 63 73 3a 48 75 6d 61 |hnical D|ocs:Huma|
|00005350| 6e 20 49 6e 74 65 72 66 | 61 63 65 3a 0d 20 20 20 |n Interf|ace:. |
|00005360| 20 20 20 20 20 48 75 6d | 61 6e 20 49 6e 74 65 72 | Hum|an Inter|
|00005370| 66 61 63 65 20 47 6f 6f | 64 69 65 73 3a 4d 6f 76 |face Goo|dies:Mov|
|00005380| 61 62 6c 65 2d 4d 6f 64 | 61 6c 20 57 44 45 46 20 |able-Mod|al WDEF |
|00005390| 31 2e 30 2e 31 0d 61 6e | 64 20 6f 6e 20 41 70 70 |1.0.1.an|d on App|
|000053a0| 6c 65 4c 69 6e 6b 3a 0d | 20 20 20 20 44 65 76 65 |leLink:.| Deve|
|000053b0| 6c 6f 70 65 72 20 53 75 | 70 70 6f 72 74 3a 44 65 |loper Su|pport:De|
|000053c0| 76 65 6c 6f 70 65 72 20 | 53 65 72 76 69 63 65 73 |veloper |Services|
|000053d0| 3a 0d 20 20 20 20 20 20 | 20 20 44 65 76 65 6c 6f |:. | Develo|
|000053e0| 70 65 72 20 54 65 63 68 | 6e 69 63 61 6c 20 53 75 |per Tech|nical Su|
|000053f0| 70 70 6f 72 74 3a 44 65 | 76 65 6c 6f 70 65 72 20 |pport:De|veloper |
|00005400| 45 73 73 65 6e 74 69 61 | 6c 73 3a c9 0d 53 61 6d |Essentia|ls:..Sam|
|00005410| 70 6c 65 20 72 65 73 6f | 75 72 63 65 73 20 66 6f |ple reso|urces fo|
|00005420| 72 20 73 65 74 74 69 6e | 67 20 66 6f 6e 74 20 26 |r settin|g font &|
|00005430| 20 73 69 7a 65 20 6f 66 | 20 4d 61 63 69 6e 74 6f | size of| Macinto|
|00005440| 73 68 20 74 65 78 74 20 | 69 74 65 6d 73 0d 57 72 |sh text |items.Wr|
|00005450| 69 74 74 65 6e 3a 09 38 | 2f 33 30 2f 39 31 0d 4c |itten:.8|/30/91.L|
|00005460| 61 73 74 20 72 65 76 69 | 65 77 65 64 3a 09 38 2f |ast revi|ewed:.8/|
|00005470| 31 2f 39 32 0d 48 6f 77 | 20 63 61 6e 20 49 20 67 |1/92.How| can I g|
|00005480| 65 74 20 61 20 47 65 6e | 65 76 61 20 39 2d 70 74 |et a Gen|eva 9-pt|
|00005490| 20 64 65 66 61 75 6c 74 | 20 66 6f 72 20 73 74 61 | default| for sta|
|000054a0| 74 69 63 20 74 65 78 74 | 20 61 6e 64 20 74 65 78 |tic text| and tex|
|000054b0| 74 20 65 64 69 74 20 69 | 74 65 6d 73 20 69 6e 20 |t edit i|tems in |
|000054c0| 6d 79 20 64 69 61 6c 6f | 67 3f 0d 5f 5f 5f 0d 54 |my dialo|g?.___.T|
|000054d0| 68 65 20 44 69 61 6c 6f | 67 20 6d 61 6e 61 67 65 |he Dialo|g manage|
|000054e0| 72 20 70 72 6f 76 69 64 | 65 73 20 61 20 6d 65 63 |r provid|es a mec|
|000054f0| 68 61 6e 69 73 6d 20 66 | 6f 72 20 63 68 61 6e 67 |hanism f|or chang|
|00005500| 69 6e 67 20 74 68 65 20 | 66 6f 6e 74 2f 73 69 7a |ing the |font/siz|
|00005510| 65 20 6f 66 20 73 74 61 | 74 69 63 20 61 6e 64 20 |e of sta|tic and |
|00005520| 65 64 69 74 20 74 65 78 | 74 20 69 74 65 6d 73 20 |edit tex|t items |
|00005530| 76 69 61 20 74 68 65 20 | 27 69 63 74 62 27 20 28 |via the |'ictb' (|
|00005540| 69 74 65 6d 20 63 6f 6c | 6f 72 20 74 61 62 6c 65 |item col|or table|
|00005550| 29 20 54 68 69 73 20 73 | 74 72 75 63 74 75 72 65 |) This s|tructure|
|00005560| 20 69 73 20 64 6f 63 75 | 6d 65 6e 74 65 64 20 69 | is docu|mented i|
|00005570| 6e 20 69 6e 73 69 64 65 | 20 4d 61 63 69 6e 74 6f |n inside| Macinto|
|00005580| 73 68 20 56 6f 6c 75 6d | 65 20 56 2c 20 70 61 67 |sh Volum|e V, pag|
|00005590| 65 73 20 56 2d 32 37 39 | 20 74 6f 20 56 2d 32 38 |es V-279| to V-28|
|000055a0| 31 2e 20 42 61 73 69 63 | 61 6c 6c 79 20 79 6f 75 |1. Basic|ally you|
|000055b0| 20 63 72 65 61 74 65 20 | 61 6e 20 27 69 63 74 62 | create |an 'ictb|
|000055c0| 27 20 74 68 61 74 20 68 | 61 73 20 65 6e 74 72 69 |' that h|as entri|
|000055d0| 65 73 20 66 6f 72 20 65 | 61 63 68 20 69 74 65 6d |es for e|ach item|
|000055e0| 20 74 68 61 74 20 79 6f | 75 20 77 61 6e 74 20 74 | that yo|u want t|
|000055f0| 6f 20 6d 6f 64 69 66 79 | 2e 20 54 68 65 20 6f 6e |o modify|. The on|
|00005600| 6c 79 20 75 6e 66 6f 72 | 74 75 6e 61 74 65 20 61 |ly unfor|tunate a|
|00005610| 73 70 65 63 74 20 6f 66 | 20 74 68 69 73 20 77 68 |spect of| this wh|
|00005620| 6f 6c 65 20 70 72 6f 63 | 65 73 73 20 69 73 20 74 |ole proc|ess is t|
|00005630| 68 61 74 20 77 65 20 64 | 6f 20 6e 6f 74 20 68 61 |hat we d|o not ha|
|00005640| 76 65 20 72 65 7a 20 74 | 65 6d 70 6c 61 74 65 73 |ve rez t|emplates|
|00005650| 20 66 6f 72 20 27 69 63 | 74 62 27 73 20 2e 20 53 | for 'ic|tb's . S|
|00005660| 6f 2c 20 49 20 61 6d 20 | 69 6e 63 6c 75 64 69 6e |o, I am |includin|
|00005670| 67 20 74 68 65 20 73 6f | 75 72 63 65 20 63 6f 64 |g the so|urce cod|
|00005680| 65 20 74 6f 20 73 6f 6d | 65 20 73 61 6d 70 6c 65 |e to som|e sample|
|00005690| 20 72 65 73 6f 75 72 63 | 65 73 20 74 68 61 74 20 | resourc|es that |
|000056a0| 6d 69 67 68 74 20 68 65 | 6c 70 20 79 6f 75 20 67 |might he|lp you g|
|000056b0| 65 74 20 73 74 61 72 74 | 65 64 2e 0d 2d 2d 2d 2d |et start|ed..----|
|000056c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000056d0| 2d 2d 2d 20 72 65 7a 20 | 73 6f 75 72 63 65 20 63 |--- rez |source c|
|000056e0| 6f 64 65 20 66 6f 6c 6c | 6f 77 73 20 2d 2d 2d 2d |ode foll|ows ----|
|000056f0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005700| 2d 2d 2d 0d 2f 2a 20 64 | 6c 6f 67 20 73 74 75 66 |---./* d|log stuf|
|00005710| 66 20 2a 2f 0d 72 65 73 | 6f 75 72 63 65 20 27 44 |f */.res|ource 'D|
|00005720| 4c 4f 47 27 20 28 31 32 | 38 29 20 7b 0d 20 20 20 |LOG' (12|8) {. |
|00005730| 20 7b 38 30 2c 20 37 34 | 2c 20 32 39 30 2c 20 34 | {80, 74|, 290, 4|
|00005740| 36 34 7d 2c 0d 20 20 20 | 20 64 42 6f 78 50 72 6f |64},. | dBoxPro|
|00005750| 63 2c 0d 20 20 20 20 76 | 69 73 69 62 6c 65 2c 0d |c,. v|isible,.|
|00005760| 20 20 20 20 67 6f 41 77 | 61 79 2c 0d 20 20 20 20 | goAw|ay,. |
|00005770| 30 78 30 2c 0d 20 20 20 | 20 31 32 38 2c 0d 20 20 |0x0,. | 128,. |
|00005780| 20 20 22 22 0d 7d 3b 0d | 72 65 73 6f 75 72 63 65 | "".};.|resource|
|00005790| 20 27 44 49 54 4c 27 20 | 28 31 32 38 29 20 7b 0d | 'DITL' |(128) {.|
|000057a0| 20 20 20 20 7b 20 20 20 | 20 2f 2a 20 61 72 72 61 | { | /* arra|
|000057b0| 79 20 44 49 54 4c 61 72 | 72 61 79 3a 20 38 20 65 |y DITLar|ray: 8 e|
|000057c0| 6c 65 6d 65 6e 74 73 20 | 2a 2f 0d 20 20 20 20 20 |lements |*/. |
|000057d0| 20 20 20 2f 2a 20 5b 31 | 5d 20 2a 2f 0d 20 20 20 | /* [1|] */. |
|000057e0| 20 20 20 20 20 7b 31 38 | 35 2c 20 33 30 35 2c 20 | {18|5, 305, |
|000057f0| 32 30 35 2c 20 33 36 33 | 7d 2c 0d 20 20 20 20 20 |205, 363|},. |
|00005800| 20 20 20 42 75 74 74 6f | 6e 20 7b 0d 20 20 20 20 | Butto|n {. |
|00005810| 20 20 20 20 20 20 20 20 | 65 6e 61 62 6c 65 64 2c | |enabled,|
|00005820| 0d 20 20 20 20 20 20 20 | 20 20 20 20 20 d3 44 6f |. | .Do|
|00005830| 6e 65 d3 0d 20 20 20 20 | 20 20 20 20 7d 2c 0d 20 |ne.. | },. |
|00005840| 20 20 20 20 20 20 20 2f | 2a 20 5b 32 5d 20 2a 2f | /|* [2] */|
|00005850| 0d 20 20 20 20 20 20 20 | 20 7b 34 36 2c 20 32 39 |. | {46, 29|
|00005860| 30 2c 20 36 34 2c 20 33 | 36 39 7d 2c 0d 20 20 20 |0, 64, 3|69},. |
|00005870| 20 20 20 20 20 43 68 65 | 63 6b 42 6f 78 20 7b 0d | Che|ckBox {.|
|00005880| 20 20 20 20 20 20 20 20 | 20 20 20 20 65 6e 61 62 | | enab|
|00005890| 6c 65 64 2c 0d 20 20 20 | 20 20 20 20 20 20 20 20 |led,. | |
|000058a0| 20 d3 4d 65 6d 6f 72 79 | d3 0d 20 20 20 20 20 20 | .Memory|.. |
|000058b0| 20 20 7d 2c 0d 20 20 20 | 20 20 20 20 20 2f 2a 20 | },. | /* |
|000058c0| 5b 33 5d 20 2a 2f 0d 20 | 20 20 20 20 20 20 20 7b |[3] */. | {|
|000058d0| 39 37 2c 20 32 39 30 2c | 20 31 31 35 2c 20 33 36 |97, 290,| 115, 36|
|000058e0| 39 7d 2c 0d 20 20 20 20 | 20 20 20 20 43 68 65 63 |9},. | Chec|
|000058f0| 6b 42 6f 78 20 7b 0d 20 | 20 20 20 20 20 20 20 20 |kBox {. | |
|00005900| 20 20 20 65 6e 61 62 6c | 65 64 2c 0d 20 20 20 20 | enabl|ed,. |
|00005910| 20 20 20 20 20 20 20 20 | d3 4d 65 6d 6f 72 79 d3 | |.Memory.|
|00005920| 0d 20 20 20 20 20 20 20 | 20 7d 2c 0d 20 20 20 20 |. | },. |
|00005930| 20 20 20 20 2f 2a 20 5b | 34 5d 20 2a 2f 0d 20 20 | /* [|4] */. |
|00005940| 20 20 20 20 20 20 7b 31 | 34 38 2c 20 32 39 30 2c | {1|48, 290,|
|00005950| 20 31 36 36 2c 20 33 36 | 39 7d 2c 0d 20 20 20 20 | 166, 36|9},. |
|00005960| 20 20 20 20 43 68 65 63 | 6b 42 6f 78 20 7b 0d 20 | Chec|kBox {. |
|00005970| 20 20 20 20 20 20 20 20 | 20 20 20 65 6e 61 62 6c | | enabl|
|00005980| 65 64 2c 0d 20 20 20 20 | 20 20 20 20 20 20 20 20 |ed,. | |
|00005990| d3 4d 65 6d 6f 72 79 d3 | 0d 20 20 20 20 20 20 20 |.Memory.|. |
|000059a0| 20 7d 2c 0d 20 20 20 20 | 20 20 20 20 2f 2a 20 5b | },. | /* [|
|000059b0| 35 5d 20 2a 2f 0d 20 20 | 20 20 20 20 20 20 7b 34 |5] */. | {4|
|000059c0| 31 2c 20 31 32 2c 20 37 | 30 2c 20 32 37 35 7d 2c |1, 12, 7|0, 275},|
|000059d0| 0d 20 20 20 20 20 20 20 | 20 45 64 69 74 54 65 78 |. | EditTex|
|000059e0| 74 20 7b 0d 20 20 20 20 | 20 20 20 20 20 20 20 20 |t {. | |
|000059f0| 65 6e 61 62 6c 65 64 2c | 0d 20 20 20 20 20 20 20 |enabled,|. |
|00005a00| 20 20 20 20 20 22 22 0d | 20 20 20 20 20 20 20 20 | "".| |
|00005a10| 7d 2c 0d 20 20 20 20 20 | 20 20 20 2f 2a 20 5b 36 |},. | /* [6|
|00005a20| 5d 20 2a 2f 0d 20 20 20 | 20 20 20 20 20 7b 39 32 |] */. | {92|
|00005a30| 2c 20 31 32 2c 20 31 32 | 31 2c 20 32 37 35 7d 2c |, 12, 12|1, 275},|
|00005a40| 0d 20 20 20 20 20 20 20 | 20 45 64 69 74 54 65 78 |. | EditTex|
|00005a50| 74 20 7b 0d 20 20 20 20 | 20 20 20 20 20 20 20 20 |t {. | |
|00005a60| 65 6e 61 62 6c 65 64 2c | 0d 20 20 20 20 20 20 20 |enabled,|. |
|00005a70| 20 20 20 20 20 22 22 0d | 20 20 20 20 20 20 20 20 | "".| |
|00005a80| 7d 2c 0d 20 20 20 20 20 | 20 20 20 2f 2a 20 5b 37 |},. | /* [7|
|00005a90| 5d 20 2a 2f 0d 20 20 20 | 20 20 20 20 20 7b 31 34 |] */. | {14|
|00005aa0| 33 2c 20 31 32 2c 20 31 | 37 32 2c 20 32 37 35 7d |3, 12, 1|72, 275}|
|00005ab0| 2c 0d 20 20 20 20 20 20 | 20 20 45 64 69 74 54 65 |,. | EditTe|
|00005ac0| 78 74 20 7b 0d 20 20 20 | 20 20 20 20 20 20 20 20 |xt {. | |
|00005ad0| 20 65 6e 61 62 6c 65 64 | 2c 0d 20 20 20 20 20 20 | enabled|,. |
|00005ae0| 20 20 20 20 20 20 22 22 | 0d 20 20 20 20 20 20 20 | ""|. |
|00005af0| 20 7d 2c 0d 20 20 20 20 | 20 20 20 20 2f 2a 20 5b | },. | /* [|
|00005b00| 38 5d 20 2a 2f 0d 20 20 | 20 20 20 20 20 20 7b 35 |8] */. | {5|
|00005b10| 2c 20 36 2c 20 32 31 2c | 20 32 36 39 7d 2c 0d 20 |, 6, 21,| 269},. |
|00005b20| 20 20 20 20 20 20 20 53 | 74 61 74 69 63 54 65 78 | S|taticTex|
|00005b30| 74 20 7b 0d 20 20 20 20 | 20 20 20 20 20 20 20 20 |t {. | |
|00005b40| 64 69 73 61 62 6c 65 64 | 2c 0d 20 20 20 20 20 20 |disabled|,. |
|00005b50| 20 20 20 20 20 20 d3 54 | 79 70 65 20 69 6e 74 6f | .T|ype into|
|00005b60| 20 74 68 65 6d 20 74 6f | 20 73 65 65 20 77 68 61 | them to| see wha|
|00005b70| 74 73 20 75 70 d3 0d 20 | 20 20 20 20 20 20 20 7d |ts up.. | }|
|00005b80| 0d 20 20 20 20 7d 0d 7d | 3b 0d 72 65 73 6f 75 72 |. }.}|;.resour|
|00005b90| 63 65 20 27 64 63 74 62 | 27 20 28 31 32 38 29 20 |ce 'dctb|' (128) |
|00005ba0| 7b 0d 20 20 20 20 7b 20 | 20 20 20 2f 2a 20 61 72 |{. { | /* ar|
|00005bb0| 72 61 79 20 43 6f 6c 6f | 72 53 70 65 63 3a 20 35 |ray Colo|rSpec: 5|
|00005bc0| 20 65 6c 65 6d 65 6e 74 | 73 20 2a 2f 0d 20 20 20 | element|s */. |
|00005bd0| 20 20 20 20 20 2f 2a 20 | 5b 31 5d 20 2a 2f 0d 20 | /* |[1] */. |
|00005be0| 20 20 20 20 20 20 20 77 | 43 6f 6e 74 65 6e 74 43 | w|ContentC|
|00005bf0| 6f 6c 6f 72 2c 20 36 35 | 35 33 35 2c 20 36 35 35 |olor, 65|535, 655|
|00005c00| 33 35 2c 20 35 32 34 32 | 38 2c 0d 20 20 20 20 20 |35, 5242|8,. |
|00005c10| 20 20 20 2f 2a 20 5b 32 | 5d 20 2a 2f 0d 20 20 20 | /* [2|] */. |
|00005c20| 20 20 20 20 20 77 46 72 | 61 6d 65 43 6f 6c 6f 72 | wFr|ameColor|
|00005c30| 2c 20 30 2c 20 30 2c 20 | 30 2c 0d 20 20 20 20 20 |, 0, 0, |0,. |
|00005c40| 20 20 20 2f 2a 20 5b 33 | 5d 20 2a 2f 0d 20 20 20 | /* [3|] */. |
|00005c50| 20 20 20 20 20 77 54 65 | 78 74 43 6f 6c 6f 72 2c | wTe|xtColor,|
|00005c60| 20 30 2c 20 30 2c 20 30 | 2c 0d 20 20 20 20 20 20 | 0, 0, 0|,. |
|00005c70| 20 20 2f 2a 20 5b 34 5d | 20 2a 2f 0d 20 20 20 20 | /* [4]| */. |
|00005c80| 20 20 20 20 77 48 69 6c | 69 74 65 43 6f 6c 6f 72 | wHil|iteColor|
|00005c90| 2c 20 30 2c 20 30 2c 20 | 30 2c 0d 20 20 20 20 20 |, 0, 0, |0,. |
|00005ca0| 20 20 20 2f 2a 20 5b 35 | 5d 20 2a 2f 0d 20 20 20 | /* [5|] */. |
|00005cb0| 20 20 20 20 20 77 54 69 | 74 6c 65 42 61 72 43 6f | wTi|tleBarCo|
|00005cc0| 6c 6f 72 2c 20 36 35 35 | 33 35 2c 20 36 35 35 33 |lor, 655|35, 6553|
|00005cd0| 35 2c 20 36 35 35 33 35 | 0d 20 20 20 20 7d 0d 7d |5, 65535|. }.}|
|00005ce0| 3b 0d 64 61 74 61 20 27 | 69 63 74 62 27 20 28 31 |;.data '|ictb' (1|
|00005cf0| 32 38 29 20 7b 0d 20 20 | 20 20 24 22 30 30 32 30 |28) {. | $"0020|
|00005d00| 20 30 30 32 30 d3 20 20 | 20 20 20 20 20 20 20 20 | 0020. | |
|00005d10| 20 2f 2a 24 30 30 20 74 | 68 65 20 62 75 74 74 6f | /*$00 t|he butto|
|00005d20| 6e 20 69 74 65 6d 20 2a | 2f 0d 20 20 20 20 24 22 |n item *|/. $"|
|00005d30| 30 30 30 30 20 30 30 30 | 30 d3 20 20 20 20 20 20 |0000 000|0. |
|00005d40| 20 20 20 20 20 2f 2a 24 | 30 34 20 43 68 65 63 6b | /*$|04 Check|
|00005d50| 20 62 6f 78 20 31 20 2a | 2f 0d 20 20 20 20 24 22 | box 1 *|/. $"|
|00005d60| 30 30 30 30 20 30 30 30 | 30 d3 20 20 20 20 20 20 |0000 000|0. |
|00005d70| 20 20 20 20 20 2f 2a 24 | 30 38 20 43 68 65 63 6b | /*$|08 Check|
|00005d80| 20 62 6f 78 20 32 20 2a | 2f 0d 20 20 20 20 24 22 | box 2 *|/. $"|
|00005d90| 30 30 30 30 20 30 30 30 | 30 d3 20 20 20 20 20 20 |0000 000|0. |
|00005da0| 20 20 20 20 20 2f 2a 24 | 30 43 20 43 68 65 63 6b | /*$|0C Check|
|00005db0| 20 62 6f 78 20 33 20 2a | 2f 0d 20 20 20 20 24 22 | box 3 *|/. $"|
|00005dc0| 30 30 30 30 20 30 30 30 | 30 d3 20 20 20 20 20 20 |0000 000|0. |
|00005dd0| 20 20 20 20 20 2f 2a 24 | 31 30 20 45 64 69 74 20 | /*$|10 Edit |
|00005de0| 54 65 78 74 20 31 20 2a | 2f 0d 20 20 20 20 24 22 |Text 1 *|/. $"|
|00005df0| 30 30 30 44 20 30 30 34 | 30 d3 20 20 20 20 20 20 |000D 004|0. |
|00005e00| 20 20 20 20 20 2f 2a 24 | 31 34 20 45 64 69 74 20 | /*$|14 Edit |
|00005e10| 54 65 78 74 20 32 20 6a | 75 73 74 20 63 68 61 6e |Text 2 j|ust chan|
|00005e20| 67 65 20 74 68 65 20 66 | 61 6d 69 6c 79 2c 20 2a |ge the f|amily, *|
|00005e30| 2f 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |/. | |
|00005e40| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 2f 2a 20 | | /* |
|00005e50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005e60| 20 20 73 69 7a 65 2c 20 | 61 6e 64 20 74 65 78 74 | size, |and text|
|00005e70| 20 63 6f 6c 6f 72 20 2a | 2f 0d 20 20 20 20 24 22 | color *|/. $"|
|00005e80| 30 30 30 30 20 30 30 30 | 30 d3 20 20 20 20 20 20 |0000 000|0. |
|00005e90| 20 20 20 20 20 2f 2a 24 | 31 38 20 45 64 69 74 20 | /*$|18 Edit |
|00005ea0| 54 65 78 74 20 33 20 63 | 68 61 6e 67 65 20 66 61 |Text 3 c|hange fa|
|00005eb0| 6d 69 6c 79 20 61 6e 64 | 20 73 69 7a 65 2c 20 2a |mily and| size, *|
|00005ec0| 2f 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |/. | |
|00005ed0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 2f 2a 20 | | /* |
|00005ee0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005ef0| 20 20 20 20 20 20 20 75 | 73 69 6e 67 20 66 6f 6e | u|sing fon|
|00005f00| 74 20 6e 61 6d 65 20 2a | 2f 0d 20 20 20 20 24 22 |t name *|/. $"|
|00005f10| 38 30 30 35 20 30 30 35 | 34 d3 20 20 20 20 20 20 |8005 005|4. |
|00005f20| 20 20 20 20 20 2f 2a 24 | 31 43 20 53 74 61 74 20 | /*$|1C Stat |
|00005f30| 54 65 78 74 20 31 20 2a | 2f 0d 2f 2a 20 53 74 61 |Text 1 *|/./* Sta|
|00005f40| 72 74 20 6f 66 20 74 68 | 65 20 69 63 74 62 20 69 |rt of th|e ictb i|
|00005f50| 74 65 6d 73 20 68 65 72 | 65 20 2a 2f 0d 20 20 20 |tems her|e */. |
|00005f60| 20 2f 2a 20 43 6f 6c 6f | 72 20 74 61 62 6c 65 20 | /* Colo|r table |
|00005f70| 66 6f 72 20 74 68 65 20 | 64 6f 6e 65 20 62 75 74 |for the |done but|
|00005f80| 74 6f 6e 20 2a 2f 0d 20 | 20 20 20 24 22 30 30 30 |ton */. | $"000|
|00005f90| 30 20 30 30 30 30 d3 20 | 20 20 20 20 20 20 20 20 |0 0000. | |
|00005fa0| 20 20 2f 2a 24 32 30 20 | 63 63 53 65 65 64 20 2a | /*$20 |ccSeed *|
|00005fb0| 2f 0d 20 20 20 20 24 22 | 30 30 30 30 20 30 30 30 |/. $"|0000 000|
|00005fc0| 32 d3 20 20 20 20 20 20 | 20 20 20 20 20 2f 2a 20 |2. | /* |
|00005fd0| 52 65 73 65 72 76 65 64 | 20 2f 20 73 69 7a 65 20 |Reserved| / size |
|00005fe0| 6f 66 20 63 6f 6c 6f 72 | 20 74 61 62 6c 65 20 2a |of color| table *|
|00005ff0| 2f 0d 20 20 20 20 24 22 | 30 30 30 30 20 30 30 30 |/. $"|0000 000|
|00006000| 30 20 30 30 30 30 20 46 | 46 46 46 d3 20 2f 2a 20 |0 0000 F|FFF. /* |
|00006010| 63 46 72 61 6d 65 43 6f | 6c 6f 72 2c 20 36 35 35 |cFrameCo|lor, 655|
|00006020| 33 35 2c 36 35 35 33 35 | 2c 35 32 34 32 38 20 2a |35,65535|,52428 *|
|00006030| 2f 0d 20 20 20 20 24 22 | 30 30 30 31 20 46 46 46 |/. $"|0001 FFF|
|00006040| 46 20 46 46 46 46 20 43 | 43 43 43 d3 20 2f 2a 20 |F FFFF C|CCC. /* |
|00006050| 63 42 6f 64 79 43 6f 6c | 6f 72 2c 20 30 2c 20 30 |cBodyCol|or, 0, 0|
|00006060| 2c 20 30 20 2a 2f 0d 20 | 20 20 20 24 22 30 30 30 |, 0 */. | $"000|
|00006070| 32 20 30 30 30 30 20 30 | 30 30 30 20 46 46 46 46 |2 0000 0|000 FFFF|
|00006080| d3 20 2f 2a 20 63 54 65 | 78 74 43 6f 6c 6f 72 2c |. /* cTe|xtColor,|
|00006090| 20 30 2c 20 30 2c 20 36 | 35 35 33 35 20 2a 2f 0d | 0, 0, 6|5535 */.|
|000060a0| 20 20 20 20 2f 2a 20 45 | 64 69 74 20 54 65 78 74 | /* E|dit Text|
|000060b0| 20 32 20 69 74 65 6d 20 | 74 65 78 74 2f 63 6f 6c | 2 item |text/col|
|000060c0| 6f 72 20 69 6e 66 6f 2e | 2e 2e 20 2a 2f 0d 20 20 |or info.|.. */. |
|000060d0| 20 20 24 22 30 30 30 31 | d3 20 20 20 20 20 20 20 | $"0001|. |
|000060e0| 20 20 20 20 20 20 20 20 | 20 2f 2a 24 34 30 20 64 | | /*$40 d|
|000060f0| 69 46 6f 6e 74 20 61 70 | 70 6c 69 63 61 74 69 6f |iFont ap|plicatio|
|00006100| 6e 20 66 6f 6e 74 20 2a | 2f 0d 20 20 20 20 24 22 |n font *|/. $"|
|00006110| 30 30 30 30 d3 20 20 20 | 20 20 20 20 20 20 20 20 |0000. | |
|00006120| 20 20 20 20 20 2f 2a 24 | 34 32 20 64 69 53 74 79 | /*$|42 diSty|
|00006130| 6c 65 20 70 6c 61 69 6e | 20 2a 2f 0d 20 20 20 20 |le plain| */. |
|00006140| 24 22 30 30 30 41 d3 20 | 20 20 20 20 20 20 20 20 |$"000A. | |
|00006150| 20 20 20 20 20 20 20 2f | 2a 24 34 34 20 64 69 53 | /|*$44 diS|
|00006160| 69 7a 65 20 77 68 61 74 | 65 76 65 72 2e 2e 2e 20 |ize what|ever... |
|00006170| 2a 2f 0d 20 20 20 20 24 | 22 46 46 46 46 20 38 30 |*/. $|"FFFF 80|
|00006180| 30 30 20 30 30 30 30 d3 | 20 20 20 20 20 20 2f 2a |00 0000.| /*|
|00006190| 24 34 36 20 66 6f 72 65 | 63 6f 6c 6f 72 20 2a 2f |$46 fore|color */|
|000061a0| 0d 20 20 20 20 24 22 46 | 46 46 46 20 46 46 46 46 |. $"F|FFF FFFF|
|000061b0| 20 43 43 43 43 d3 20 20 | 20 20 20 20 2f 2a 24 34 | CCCC. | /*$4|
|000061c0| 43 20 62 61 63 6b 43 6f | 6c 6f 72 20 2a 2f 0d 20 |C backCo|lor */. |
|000061d0| 20 20 20 24 22 30 30 30 | 30 d3 20 20 20 20 20 20 | $"000|0. |
|000061e0| 20 20 20 20 20 20 20 20 | 20 20 2f 2a 24 35 32 20 | | /*$52 |
|000061f0| 64 69 4d 6f 64 65 20 2a | 2f 0d 20 20 20 20 2f 2a |diMode *|/. /*|
|00006200| 20 45 64 69 74 20 54 65 | 78 74 20 33 20 69 74 65 | Edit Te|xt 3 ite|
|00006210| 6d 20 74 65 78 74 2f 63 | 6f 6c 6f 72 20 69 6e 66 |m text/c|olor inf|
|00006220| 6f 2e 2e 2e 20 2a 2f 0d | 20 20 20 20 24 22 30 30 |o... */.| $"00|
|00006230| 36 38 d3 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |68. | |
|00006240| 20 20 20 2f 2a 24 35 34 | 20 64 69 46 6f 6e 74 20 | /*$54| diFont |
|00006250| 61 70 70 6c 69 63 61 74 | 69 6f 6e 20 66 6f 6e 74 |applicat|ion font|
|00006260| 20 2a 2f 0d 20 20 20 20 | 24 22 30 30 30 30 d3 20 | */. |$"0000. |
|00006270| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 2f | | /|
|00006280| 2a 24 35 36 20 64 69 53 | 74 79 6c 65 20 70 6c 61 |*$56 diS|tyle pla|
|00006290| 69 6e 20 2a 2f 0d 20 20 | 20 20 24 22 30 30 30 43 |in */. | $"000C|
|000062a0| d3 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|000062b0| 20 2f 2a 24 35 38 20 64 | 69 53 69 7a 65 20 77 68 | /*$58 d|iSize wh|
|000062c0| 61 74 65 76 65 72 2e 2e | 2e 20 2a 2f 0d 20 20 20 |atever..|. */. |
|000062d0| 20 24 22 30 30 30 30 20 | 30 30 30 30 20 30 30 30 | $"0000 |0000 000|
|000062e0| 30 d3 20 20 20 20 20 20 | 2f 2a 24 35 41 20 66 6f |0. |/*$5A fo|
|000062f0| 72 65 63 6f 6c 6f 72 20 | 2a 2f 0d 20 20 20 20 24 |recolor |*/. $|
|00006300| 22 46 46 46 46 20 46 46 | 46 46 20 43 43 43 43 d3 |"FFFF FF|FF CCCC.|
|00006310| 20 20 20 20 20 20 2f 2a | 24 36 30 20 62 61 63 6b | /*|$60 back|
|00006320| 43 6f 6c 6f 72 20 2a 2f | 0d 20 20 20 20 24 22 30 |Color */|. $"0|
|00006330| 30 30 30 d3 20 20 20 20 | 20 20 20 20 20 20 20 20 |000. | |
|00006340| 20 20 20 20 2f 2a 24 36 | 36 20 64 69 4d 6f 64 65 | /*$6|6 diMode|
|00006350| 20 2a 2f 0d 2f 2a 20 53 | 74 61 72 74 20 6f 66 20 | */./* S|tart of |
|00006360| 74 68 65 20 66 6f 6e 74 | 20 6e 61 6d 65 20 74 61 |the font| name ta|
|00006370| 62 6c 65 20 68 65 72 65 | 20 2a 2f 0d 20 20 20 20 |ble here| */. |
|00006380| 24 22 30 37 34 33 20 36 | 46 37 35 20 37 32 36 39 |$"0743 6|F75 7269|
|00006390| 20 36 35 37 32 d3 20 2f | 2a 24 36 38 20 66 6f 6e | 6572. /|*$68 fon|
|000063a0| 74 20 6e 61 6d 65 20 43 | 6f 75 72 69 65 72 20 2a |t name C|ourier *|
|000063b0| 2f 0d 7d 3b 0d 4d 6f 76 | 61 62 6c 65 20 6d 6f 64 |/.};.Mov|able mod|
|000063c0| 61 6c 20 64 69 61 6c 6f | 67 20 57 44 45 46 20 30 |al dialo|g WDEF 0|
|000063d0| 20 70 72 6f 63 49 44 0d | 57 72 69 74 74 65 6e 3a | procID.|Written:|
|000063e0| 09 39 2f 32 33 2f 39 31 | 0d 4c 61 73 74 20 72 65 |.9/23/91|.Last re|
|000063f0| 76 69 65 77 65 64 3a 09 | 38 2f 31 2f 39 32 0d 57 |viewed:.|8/1/92.W|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.